Skip to content

Commit 5845b3d

Browse files
author
Carms Ng
committed
[FIX] section overflow
1 parent 3ed385f commit 5845b3d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/styles/GlobalStyles.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ const GlobalStyles = createGlobalStyle`
3333
width: min-content;
3434
}
3535
section {
36-
padding-top: 100px;
37-
height: 100vh;
36+
padding: 100px 0;
37+
min-height: 100vh;
3838
}
3939
button:focus, button:hover {
4040
outline: none;
@@ -43,7 +43,6 @@ const GlobalStyles = createGlobalStyle`
4343
display: grid;
4444
align-items: flex-start;
4545
height: 100%;
46-
overflow: auto;
4746
}
4847
`;
4948

0 commit comments

Comments
 (0)