redesign: article body gutter — drop legacy per-block padding #23
Loading…
Reference in a new issue
No description provided.
Delete branch "redesign/article-body-gutter"
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?
Article body gutter cleanup
Investigated with live computed-style measurements across viewports (360→1920px).
Drop legacy
px-4on.article-bodytext blocks (h1–h4, p)The per-block padding stacked three gutter layers and caused:
Unset container
px-5on the article body (experimental)Isolates the container so its behavior is fully attributable to
max-w-image = min(50rem, 95vw)+mx-auto: on viewports where 95vw isactive (<843px) the box shrinks below the viewport and auto margins split
the leftover → 2.5vw phantom margin per side (9–19px). Swept 360→1920px
to document the three regimes (95vw / 50rem cap / 2xl 90rem grid).
Docs
AGENTS.md:
katelyn(self-hosted Forgejo) is the only git remote; the staleoriginalias (dead Gitea hostname) was removed, repo-local defaults(
checkout.defaultRemote,push.autoSetupRemote) make katelyn the defaultfor new work.
🤖 Generated with pi
🪦 Live preview
removed (PR closed)
Single point of change in input.css (currently @apply px-2); the 12 page-container spots reference the class instead of hardcoding px-*, so the intent ('this is THE page gutter') is visible in the markup and future tweaks can't drift out of sync between pages.