Skip to content

Commit

Permalink
also use overflow-x: clip on body if available
Browse files Browse the repository at this point in the history
  • Loading branch information
aloop committed Oct 28, 2023
1 parent b1fc22d commit e1a4b19
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions styles/elements/_body.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ body {
line-height: var(--line-height);
overflow-x: hidden;

@supports (overflow-x: clip) {
overflow-x: clip;
}

display: grid;
grid-template-areas: "nav main";
grid-template-rows: auto max(100%, 1fr);
Expand Down

0 comments on commit e1a4b19

Please sign in to comment.