Skip to content

fix: center docs content on wide screens#378

Merged
colbymchenry merged 1 commit into
mainfrom
fix/docs-content-centering
May 24, 2026
Merged

fix: center docs content on wide screens#378
colbymchenry merged 1 commit into
mainfrom
fix/docs-content-centering

Conversation

@colbymchenry
Copy link
Copy Markdown
Owner

On wide screens Starlight sets the docs content's margin-inline: auto 0 (for pages with a sidebar + TOC), right-aligning the body against the "On this page" rail and piling all the empty space on the left. This centers the content within its pane so the margins are balanced.

Touches site/**, so merging auto-deploys.

🤖 Generated with Claude Code

Starlight right-aligns the content against the TOC (margin-inline: auto 0)
on pages with both a sidebar and a TOC, dumping all the empty space on the
left edge — very lopsided on wide monitors. Center the content in its pane.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@colbymchenry colbymchenry merged commit 18a99f5 into main May 24, 2026
@colbymchenry colbymchenry deleted the fix/docs-content-centering branch May 24, 2026 18:38
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