Skip to content

Commit

Permalink
Fixed scrolling overflow bug
Browse files Browse the repository at this point in the history
  • Loading branch information
austincondiff committed Sep 26, 2022
1 parent 71e2f85 commit 520b721
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions components/common/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const LegalCopyright = styled.div`
`
const LegalLinks = styled.div`
display: flex;
flex-wrap: wrap;
a {
border-right: 1px solid #d2d2d7;
margin-right: 7px;
Expand Down
13 changes: 9 additions & 4 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,21 @@ h6 {

html,
body {
width: 100%;
overflow-x: hidden;
padding: 0;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}

html {
height: 100%;
}
body {
min-height: 100%;
}

a {
color: inherit;
text-decoration: none;
Expand Down Expand Up @@ -81,10 +90,6 @@ html[data-color-scheme='dark'] {
color: white;
}

body {
overflow-x: hidden;
}

:root {
--black: #000000;
--white: #ffffff;
Expand Down

0 comments on commit 520b721

Please sign in to comment.