Skip to content

Commit fd0e0d3

Browse files
committed
feat: prevent macOS elastic overscroll behavior on html and body
1 parent 1aaea74 commit fd0e0d3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/global.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/* Prevent macOS elastic/rubber-band overscroll */
2+
html, body {
3+
overscroll-behavior-y: none;
4+
}
5+
16
/* Apply theme background/color to the full page.
27
* BaseStyles in Primer v38 does NOT set background-color — it only sets color + font.
38
* On GitHub.com the body bg comes from global styles. For standalone apps we need this. */

0 commit comments

Comments
 (0)