Skip to content

Commit b0a7af6

Browse files
authored
fix: prevent white space on header/footer scroll (#454) (#459)
Signed-off-by: Adnan Ashraf <[email protected]>
1 parent 5d2ad7e commit b0a7af6

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

website/package-lock.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/static/css/main.css

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@
66
*/
77

88
/* Reset */
9+
html, body {
10+
height: 100%;
11+
width:100%;
12+
margin: 0;
13+
padding: 0;
14+
overflow-y:auto;
15+
overflow-x:hidden;
16+
overscroll-behavior: contain;
17+
}
18+
19+
920
html,
1021
body,
1122
div,
@@ -3787,4 +3798,4 @@ a:hover {
37873798
text-align: left;
37883799
max-width: 460px;
37893800
margin-top: 35px;
3790-
}
3801+
}

0 commit comments

Comments
 (0)