fix: header breakpoints with headroom for wider system fonts (1.3.1) #29
Loading…
Reference in a new issue
No description provided.
Delete branch "oliver.maklott/fix-header-breakpoints"
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?
Header items overlapped at some viewport widths (navigation under the school title, or under the logo once the title is hidden).
Cause: the navigation breakpoints (D015) were the exact entry widths measured in the e2e container, whose
system-uiresolves to a narrow fallback font. Real UI fonts are wider: measured in the container, Arial-metric fonts (Liberation Sans, FreeSans) are about 7 % wider than the fallback for the full navigation, and the reported screenshots match that. The navigation box shrank correctly, but its right-aligned list spilled left under the brand.Fix
e2e/02-header: new check that the first entry starts after the brand. The old checks couldn't see left overflow, because it doesn't show up inscrollWidth. The test also sweeps 560–1720 px in 40 px steps with Liberation Sans at 100 % and 200 % text, inside the existing session (the login rate limit is 30 per 5 min, and the suite is close to it)..gitignore:/Screenshot_*.png, so review screenshots with real names can't be committed.Version 1.3.1.
Local: check ✓, e2e 42 ✓.
🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.