Skip to content

Commit cedf204

Browse files
Yushan LiYushan Li
authored andcommitted
fix horizontal scrolling
1 parent 633733a commit cedf204

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

styles/globals.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ html,
77
body {
88
padding: 0;
99
margin: 0;
10+
width: 100%;
11+
overflow-x: hidden;
1012
}
1113

1214
a {
@@ -29,4 +31,6 @@ description-list {
2931

3032
main {
3133
padding-top: 10vh;
34+
max-width: 100vw; /* Keep main content within screen width */
35+
overflow-x: hidden;
3236
}

0 commit comments

Comments
 (0)