Skip to content

Fix header overflow when a phone rotates to landscape - #711

Merged
gerardrecinto merged 2 commits into
masterfrom
fix-landscape-header
Oct 31, 2026
Merged

gerardrecinto merged 2 commits into
masterfrom
fix-landscape-header

Conversation

@gerardrecinto

Copy link
Copy Markdown
Collaborator

Rotating a phone to landscape made the page shrink and leave a blank area on the right. The header was about 100px wider than the screen between 640px and 1279px, and iOS scales the page down to fit.

Below xl the header now drops the tagline and the command palette button (search is still in the menu). Below md it drops the price and GitHub labels. The icons and links stay.

Checked nine viewport sizes from 568x320 to 1279x800 in WebKit and Chromium. 664 and 667 wide overflowed before, none do now. Not tested on a real iPhone.

Thanks,
Gerard

Between 640px and 1279px the header was wider than the screen, so iOS
shrank the page and left a blank area on the right. Hide the tagline and
the command palette button below xl, and the price and GitHub labels
below md.

Thanks,
Gerard
@github-actions

Copy link
Copy Markdown

Gemini PR Review

Reviewed commit: 5394cae05b1f6d71e73e0de40c82d95c295433f9
Verdict: PASS

No actionable findings.

axe-core 4.14 reports the dimmed rows as low contrast, which fails the
accessibility test on every browser. Unlit rows now start fully
transparent and fade in as before.

Thanks,
Gerard
@github-actions

Copy link
Copy Markdown

Gemini PR Review

Reviewed commit: 8c59f90dee2b752f406c7d48f329a2a29689b621
Verdict: PASS

There are no actionable findings in the provided diff based on the stated criteria. The changes are purely cosmetic, adjusting CSS properties and responsiveness classes within an HTML file. They do not introduce security vulnerabilities, correctness bugs, performance issues, or require new tests for functionality in a Go or Java codebase.

@gerardrecinto
gerardrecinto merged commit e9fa4f0 into master Oct 31, 2026
35 checks passed
@gerardrecinto
gerardrecinto deleted the fix-landscape-header branch October 31, 2026 22:29
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