Admin UI dialogs unusable on mobile; pairing QR too small to scan #39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Problem
On a phone, the spirekeeper admin dialogs (Add machine, Pair spire, and
the other form dialogs) overflow off the side of the screen and are hard
to use. The seed-URL QR shown after pairing is also too small for a
spire's scan camera to lock onto reliably.
Root cause
Every dialog card set
min-width: 480pxalongsidemax-width: 95vw.When these conflict on a narrow viewport, CSS
min-widthwins, so thecard is forced wider than the screen and overflows horizontally. Tall
forms (Add machine, 7 fields) can also run off the bottom on short
screens with no way to scroll to the lower fields / buttons.
Fix (this issue)
min-width→widthsomax-width: 95vwcan shrink it to fit the viewport.65vhwith a scrollcontainer so all fields stay reachable.
button that opens a fullscreen maximized QR sized to the shorter
viewport edge, on a forced-white card (crisp under dark theme) to
maximise visibility to the spire's camera.
Follow-up (larger overhaul, not this issue)
The remaining tall form dialogs (client, deposit, edit-machine,
super-fee, settle-balance) got the width fix but not the
65vhscrollcap. A broader responsive-layout / UI overhaul pass is expected anyway
and can address those + general mobile polish.