Skip to content

Commit

Permalink
Set overflows on html AND body
Browse files Browse the repository at this point in the history
  • Loading branch information
colepeters committed Nov 14, 2023
1 parent 1a5de5c commit 24864b9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/head.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,10 @@ export default function Head(state) {
font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
text-rendering: optimizeLegibility;
font-weight: 450;
}
body {
overflow-x: hidden;
overflow-y: auto;
}
@media (prefers-reduced-motion: no-preference) {
html {
scroll-behavior: smooth;
Expand Down

0 comments on commit 24864b9

Please sign in to comment.