Fix scrolling glitches

This commit is contained in:
2020-01-15 18:37:54 +01:00
committed by Oskar
parent ca1c9e1233
commit aeb539b687

View File

@ -3,16 +3,17 @@
} }
html, body { html, body {
position: absolute; position: relative;
font-family: sans-serif; font-family: sans-serif;
font-size: 20px; font-size: 20px;
width: 100vw; width: 100%;
min-height: 100vh; min-height: 100vh;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
header, footer { header, footer {
padding-top: 30px;
text-align: center; text-align: center;
display: block; display: block;
} }
@ -20,7 +21,7 @@ header, footer {
footer { footer {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
width: 100vw; width: 100%;
height: 64px; height: 64px;
padding: 16px 0; padding: 16px 0;
color: #999; color: #999;