Skip to content

fix: prevent horizontal scroll hiding mobile ToC button#205

Merged
braboj merged 1 commit into
mainfrom
fix/mobile-toc-overflow
Apr 26, 2026
Merged

fix: prevent horizontal scroll hiding mobile ToC button#205
braboj merged 1 commit into
mainfrom
fix/mobile-toc-overflow

Conversation

@braboj

@braboj braboj commented Apr 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add overflow-x: hidden on html to prevent wide content from creating horizontal scroll
  • Fixes the mobile ToC FAB appearing off-screen on pages with wide tables or code blocks

Test plan

  • CI passes
  • On mobile: FAB visible on all pages (introduction, remote repos, expert topics, glossary)
  • No horizontal scroll on any page
  • Wide code blocks and tables still readable (scroll within their container)

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>
@braboj braboj merged commit cba2f2f into main Apr 26, 2026
1 check passed
@braboj braboj deleted the fix/mobile-toc-overflow branch April 26, 2026 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant