1
0
Fork 0

refine body height

This commit is contained in:
nanxiaobei 2021-08-21 01:49:02 +08:00
parent e2f20b7498
commit 7bd14006f6

View file

@ -29,6 +29,7 @@
} }
html { html {
height: 100%;
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent;
font-size: 8px; font-size: 8px;
} }
@ -44,7 +45,7 @@ body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
min-height: 100vh; min-height: 100%;
padding-right: var(--gap); padding-right: var(--gap);
padding-left: var(--gap); padding-left: var(--gap);
margin: 0; margin: 0;
@ -73,10 +74,6 @@ body > * {
html { html {
font-size: 7px; font-size: 7px;
} }
body {
min-height: -webkit-fill-available;
}
} }
/* Reset /* Reset