Tighten mobile content rail padding to px-2 #22
Loading…
Reference in a new issue
No description provided.
Delete branch "mobile-content-padding"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tightens the shared horizontal page rail to
px-2(0.5rem) — the oldpx-5(1.25rem) felt too wide on phones.Changed everywhere the rail lives, so edges stay aligned on every page:
base.html— the standard page content container (portfolio, blog list, showcase, contact, ...)blog_post.html— article header, body container, and footerindex.html— all homepage sectionssite_header.html/site_footer.html— masthead nav and footer (same rail)Interior article typography (
.article-bodypx-4) is untouched — it exists for breakout geometry (figures/code/tables overflow the text column symmetrically).On wide screens nothing visually shifts: containers are centered by max-width, the padding only applies while the viewport is narrower than the rail.
🪦 Live preview
removed (PR closed)
Increase mobile content rail padding to 2remto Tighten mobile content rail padding to px-2Superseded by #23, which takes a different approach to the mobile content rail.
Pull request closed