Skip to content

Commit

Permalink
Add fallback for older browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer committed Jan 27, 2025
1 parent 97a31bd commit 9aa02b6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/circuit-ui/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@

html {
box-sizing: border-box;
overflow-x: clip;
overflow-x: hidden;
}

/* `clip` has the same visual effect as `hidden`, but doesn't interfere with `position: sticky` on child elements */
@supports (overflow-x: clip) {
html {
overflow-x: clip;
}
}

[type="button"] {
Expand Down

0 comments on commit 9aa02b6

Please sign in to comment.