Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions apps/web/src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,28 @@ main, article, section {
scroll-margin-top: 2rem;
}

/* Heading size reduction for mobile readability */
h1 {
font-size: 1.375rem !important;
line-height: 1.25;
}
h2 {
font-size: 1.0625rem !important;
line-height: 1.3;
}

/* Truncate prev/next section titles on mobile */
nav[aria-label="Section navigation"] .truncate {
max-width: 120px;
}

/* TOC scrollable on mobile for large chapters */
details ul, details ol {
max-height: 60vh;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}

/* Make sticky section headers non-sticky on mobile to save space */
.sticky-section-header {
position: relative;
Expand Down
Loading