Skip to content

fix(website): align the header and sections with the wide hero - #198

Merged
apresmoi merged 3 commits into
mainfrom
fix/align-landing-header
Nov 24, 2026
Merged

apresmoi merged 3 commits into
mainfrom
fix/align-landing-header

Conversation

@apresmoi

@apresmoi apresmoi commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

On the merged homepage at 2560 × 1440, the logo started at x=700 while the headline started at x=656. The GitHub link also sat 44 CSS pixels inside the example's right edge. The hero alone switched to the wider layout at 1440 × 896.

Use the existing wide hero width for the shared page container. The header, hero, sections and footer now follow the same left and right edges.

At double text size, the GitHub link could move off-screen or start a new row at the left. It now aligns itself to the right, and the navigation adapts its gaps to the available space. The example's view switch can wrap on small landscape screens.

The browser regression measures both outer edges on first load and after scrolling with enlarged text. It reproduced both header issues before their fixes. All 13 homepage checks and the production build pass locally. Chromium and WebKit each verified 28 window sizes at normal and double text size, before and after scrolling.

On Ubuntu Chromium at 320 pixels and double text size, the example filename extended the page to 324 pixels. Its label now wraps to two lines inside the panel, clear of the code below. A browser assertion checks that the filename fits.

@apresmoi
apresmoi merged commit d0e26fc into main Nov 24, 2026
6 checks passed
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