Fix scrolling glitches

This commit is contained in:
Oskar Winkels 2020-01-15 18:37:54 +01:00 committed by Oskar
parent ca1c9e1233
commit aeb539b687
1 changed files with 4 additions and 3 deletions

View File

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