Skip to content

Commit 5ed6b36

Browse files
committed
Disable overscroll-y in Safari to make the hero look less weird
1 parent 29eff63 commit 5ed6b36

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/globals.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,3 +446,10 @@ html:has([role="listbox"][data-open]),
446446
html:has([role="menu"][data-open]) {
447447
overflow: visible !important;
448448
}
449+
450+
@supports (background: -webkit-named-image(i)) {
451+
html {
452+
/* Safari moves the fixed Navbar when overscrolling and it looks bad */
453+
overscroll-behavior-y: none;
454+
}
455+
}

0 commit comments

Comments
 (0)