fix(ui): landscape board zoom/pan + rack tile rendering + mobile block label #141
Reference in New Issue
Block a user
Delete Branch "fix/landscape-board-ui"
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?
General UI bugs surfaced while testing the VK Mini App but present on every platform (verified across browsers — not VK-specific). Group A of the VK follow-up; VK-specific polish (theme/share/home-bar) lands in a separate PR.
Fixes
remsize, so in landscape — where tiles shrink below 46px in the narrow left panel — it overflowed the tile and dropped into the bottom-left corner (unlike the board, whose labels scale). Now sized relative to the rack withcqw(the tile's own container-query size resolves unreliably under flex + aspect-ratio, so the rack is the query container). Verified numerically + visually (no overflow, letter top-left, scales 30→46px tiles); portrait untouched.overflow:autoviewport natively, but a mouse cannot drag-scroll a div, so the magnified board could not be moved on desktop / the landscape iframe. Added a drag-to-pan handler — active only while zoomed, off pending tiles, past a small threshold, swallowing the trailing click.Блокируем?→В бан?(the long form overflowed the seat score chip on mobile).Verify
Local: svelte-check 0, unit 342, build, bundle-gate 96.0/100. Reproduced + fixed #2/#4 in the mock app via Playwright (landscape).
Needs your live cross-browser check: the feel of the landscape zoom animation (#2) and the mouse drag-pan (#3) — those interactions aren't reproducible in my headless setup (like the iOS gestures). Everything else is verified.