style(blog): full-width blog posts on desktop - #220
Merged
Conversation
Blog posts (identified by the .md-post metadata sidebar, present only on individual post pages) now use the full viewport width at desktop breakpoints instead of the site-wide 1200px grid cap. Mobile and all non-blog docs pages are unaffected.
wesleyscholl
marked this pull request as ready for review
July 7, 2026 02:20
11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Blog reading pages felt cramped on wide desktop screens: the site-wide
.md-grid { max-width: 1200px; }rule left large empty margins on either side of the three-column layout (author/metadata sidebar, article content, table of contents) once the viewport exceeded ~1200px..md-postmarker inside their metadata sidebar (author, publish date, etc.) — a marker that's absent on regular docs pages and (as far as I can tell) on the blog listing/archive/category pages, since those show post excerpts without the per-post sidebar.body:has(.md-post) .md-gridrule, scoped to themin-width: 76.25emdesktop breakpoint (Material's own breakpoint for when both sidebars are visible), that removes the 1200px cap and lets the grid use the full viewport width (with small side padding) specifically on blog post pages.Type of change
Checklist
pytest tests/passes locally — N/A, docs-only changeruff check squish/ tests/reports no errors — N/A, no Python changedsquish benchrun — N/AVerified locally with
mkdocs build+ Playwright screenshots at three viewports:Related issues
Follow-up to #215–#219.
Generated by Claude Code