Justified reading measure with fitted article card #29

Merged
archvillainette merged 1 commits from wiki-reading-measure into main 2026-07-17 17:37:59 +00:00
Owner

Wiki article text was capping at the plugin's default 70ch measure, leaving a wide dead strip inside the article card after the ToC-dock change.

  • Set --wiki-prose-measure: 54rem (~90ch of body text; rem so the cap also applies to large headings — ch scales with font size and never caps them)
  • Justify paragraphs, list items, and blockquotes with hyphens: auto
  • Fit the article card to the measure (58rem) and widen the docked ToC column to absorb the leftover width
  • Center the prose block with 1.5rem vertical padding

Verified on the theme-dev stack against /wiki/Lore/Gond (with long filler paragraphs) at 1561px, and the wiki hub for regressions.

🤖 Generated with Claude Code

Wiki article text was capping at the plugin's default 70ch measure, leaving a wide dead strip inside the article card after the ToC-dock change. - Set `--wiki-prose-measure: 54rem` (~90ch of body text; rem so the cap also applies to large headings — ch scales with font size and never caps them) - Justify paragraphs, list items, and blockquotes with `hyphens: auto` - Fit the article card to the measure (58rem) and widen the docked ToC column to absorb the leftover width - Center the prose block with 1.5rem vertical padding Verified on the theme-dev stack against /wiki/Lore/Gond (with long filler paragraphs) at 1561px, and the wiki hub for regressions. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
archvillainette added 1 commit 2026-07-17 17:36:42 +00:00
Cap wiki prose at 54rem (rem, not ch, so headings share the cap), justify
paragraphs/lists/blockquotes with hyphenation, fit the article card to the
measure, and let the docked ToC column absorb the leftover width.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
archvillainette scheduled this pull request to auto merge when all checks succeed 2026-07-17 17:37:49 +00:00
xtul approved these changes 2026-07-17 17:37:58 +00:00
archvillainette merged commit d794f4fb87 into main 2026-07-17 17:37:59 +00:00
archvillainette deleted branch wiki-reading-measure 2026-07-17 17:37:59 +00:00
Sign in to join this conversation.