Files
sow-nodebb-theme/scss/westgate
archvillainetteandClaude Opus 4.8 784d62f6cc fix(wiki): cap reading column so prose doesn't drift right on ToC-less pages
The reading-layout rule caps each prose block at --wiki-prose-measure (54rem)
and centers it with margin-inline:auto. That centering only looks right when
the content column is ~58rem, which the theme sets up only while a ToC drawer
is open. Pages without a ToC (most feats, short articles) run the card full
page width, so the capped paragraph centers inside it with big side gutters
that read as a broken left indent — while the full-width callout and fact
table make the paragraph look inset. text-align:justify is the sibling rule
in the same block, not the cause.

Cap the reading column itself (and the compose editing surface, which shares
the .westgate-wiki scope) to 58rem so the card hugs the text on every article
page, matching the ToC layout. Section/namespace-index listings opt out and
keep running full-width.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-23 21:22:11 +02:00
..
2026-07-11 14:18:22 +00:00
2026-07-11 14:18:22 +00:00