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