Skip to content

Commit cba2f2f

Browse files
brabojclaude
andauthored
fix: prevent horizontal scroll hiding mobile ToC button (#205)
Wide content (tables, code blocks) caused horizontal overflow on some pages, pushing the fixed-position FAB off the visible viewport. Add overflow-x: hidden on html to keep the FAB anchored. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2d5c6b0 commit cba2f2f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

astro-site/src/styles/global.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ html {
7474
font-size: 16px;
7575
scroll-behavior: smooth;
7676
scroll-padding-top: calc(var(--header-height) + var(--tab-height) + var(--space-md));
77+
overflow-x: hidden;
7778
}
7879

7980
body {

0 commit comments

Comments
 (0)