Skip to content

fix(mobile): Heading sizes, TOC scroll, prev/next truncation#143

Merged
williamzujkowski merged 1 commit into
mainfrom
fix/mobile-text-overflow
Apr 1, 2026
Merged

fix(mobile): Heading sizes, TOC scroll, prev/next truncation#143
williamzujkowski merged 1 commit into
mainfrom
fix/mobile-text-overflow

Conversation

@williamzujkowski
Copy link
Copy Markdown
Collaborator

CSS fixes for mobile text overflow: smaller headings, scrollable TOC, truncated nav titles.

- Reduce h1 to 1.375rem and h2 to 1.0625rem on mobile (prevents overflow)
- Truncate prev/next section title to max-width 120px on mobile
- Make TOC scrollable (max-height 60vh) for chapters with 300+ sections
- All CSS-only, no JS dependencies

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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