Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

fix(docsite): prevent home hero showing through on overscroll (#3032)

rubyycheungf4784f367ec5
diff --git a/apps/docsite/src/app/globals.css b/apps/docsite/src/app/globals.css
index ab1f32cd8b..7dad1adbd8 100644
--- a/apps/docsite/src/app/globals.css
+++ b/apps/docsite/src/app/globals.css
@@ -12,6 +12,12 @@
reset, astryx-base, astryx-theme so product styles always win. */
@stylex;
+/* Disable overscroll bounce so the home hero's position:fixed layers can't
+ show through past the top/bottom of the page. */
+html {
+ overscroll-behavior-y: none;
+}
+
/* Marketing-only custom properties for the docsite home page. These are
NOT XDS theming tokens — they're docsite-specific values that back the
landing page's bento feature cards + section rhythm — so they live here