UI: Mobile header logo overlaps nav on narrow screens (iPhone SE) #196
Labels
No Label
P0
P1
P2
P3
accessibility
backend
bug
content
data-integrity
enhancement
frontend
infra
integration
owner
owner-input
performance
phase-7
phase-8
release-blocker
security
seo
ui
ux
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: null/Queue-North-Website#196
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Severity: Major
Description: Mobile nav uses
w-[85vw] max-w-[300px]but logo ish-12 md:h-16. On ~320px screens the logo + text can compress and cause truncation.File:
src/components/layout/Header.jsxlines 106-116Fix direction: Use responsive logo sizing or collapse logo to icon-only below 320px.
Not a defect — measured on the live site (v0.9.4) at the width the issue names and two others.
At 320px — iPhone SE, the case the title names — the title text ends at x=252 and the menu button starts at x=264. A 12px gap, not an overlap.
span.scrollWidthequalsspan.clientWidth, so the text is not truncated, anddocument.documentElement.scrollWidthequals the viewport width, so there is no horizontal scroll.The issue also mixes up two different elements.
w-[85vw] max-w-[300px]is the mobile nav Sheet panel that slides in when you tap the menu; it has nothing to do with the header bar the logo sits in. The logo ish-12at these widths (48px measured, as expected) —md:h-16only applies from 768px, where there is abundant room.Closing as no change required.
Verify: load the site at a 320px viewport and read the bounding boxes of
header img, the titlespan, and the menubutton— 16-64, 76-252 and 264-304, in that order, with no overlap.