fix(viewer): "Open the viewer" an icon on a narrow phone #51

Merged
dawid merged 1 commit from chip-fix into main 2026-11-18 09:58:27 +00:00
Owner

On phones below 440 px the header's chips shrink to 40-pixel icon buttons and hide their labels (still read by screen readers). The "Open the viewer" link on the markers page and the privacy page had text only, so the text was squeezed into 40 px.

Both links now have a camera icon and the label in .chip-label, like the viewer's Help, Watch and Debug chips. a.chip centers them with an 8 px gap and doesn't shrink. At 360 px: a 40×36 icon button. At 1024 px: the icon with "Open the viewer". Checked with screenshots of both pages; all tests pass in Playwright's image.

On phones below 440 px the header's chips shrink to 40-pixel icon buttons and hide their labels (still read by screen readers). The "Open the viewer" link on the markers page and the privacy page had text only, so the text was squeezed into 40 px. Both links now have a camera icon and the label in `.chip-label`, like the viewer's Help, Watch and Debug chips. `a.chip` centers them with an 8 px gap and doesn't shrink. At 360 px: a 40×36 icon button. At 1024 px: the icon with "Open the viewer". Checked with screenshots of both pages; all tests pass in Playwright's image.
fix(viewer): the markers and privacy pages' "Open the viewer" an icon on a narrow phone
All checks were successful
CI / checks (pull_request) Successful in 36s
CI / relay (pull_request) Successful in 50s
CI / e2e (pull_request) Successful in 4m2s
CI / image (pull_request) Successful in 57s
CI / android (pull_request) Successful in 2m14s
CI / watch (pull_request) Successful in 2m52s
b5c82ae665
Below 440 px the header's chips become 40-pixel icon buttons, their labels kept for screen
readers; the two pages' link had text only, which was squeezed into the 40 pixels. It now has a
camera icon and its label as the viewer's chips do; a.chip centers them with a gap and doesn't
shrink.
dawid merged commit ee297e8c43 into main 2026-11-18 09:58:27 +00:00
dawid deleted branch chip-fix 2026-11-18 09:58:27 +00:00
Sign in to join this conversation.
No description provided.