fix(viewer): "Open the viewer" an icon on a narrow phone #51
Loading…
Reference in a new issue
No description provided.
Delete branch "chip-fix"
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?
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.chipcenters 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.