fix(layout): wrap static-page sections in a full-width scroll container #47
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/scroll-wrapper-not-section"
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?
flex-1 overflow-y-autoon the same<section>that already hadmax-w-2xl/max-w-4xl. The scrollbar then rendered at the section's right edge, leaving a wide empty band between the scrollbar and the actual right edge of<main>- on widescreen the page felt cropped well short of the viewport.<div class="flex-1 overflow-y-auto">becomes the flex item that fills<main>, and the original<section>keeps itsmax-w-*cap as a normal block child. The scrollbar now sits at the right edge of<main>(i.e. against the viewport edge), and the content remains capped to the section's max-width.Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com