fix(ui): unify tile hit-area with visible label; rem-based min-size f… #2078
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix: Tiles unresponsive and misaligned when iOS Text Size is increased (Issue #2064)
Summary
This patch fixes a problem where tile buttons could appear visually aligned but their tappable/hit area was misaligned (or too small) on iOS when system Text Size / Dynamic Type was increased. The root cause was separate/absolutely-positioned label or non-scaling hit targets. This change consolidates the visible icon + label into a single semantic and uses rem-based min dimensions so the hit target scales with text size.
What I changed
<button>(src/components/Board/Tile/Tile.jsx).display: inline-flex;to unify label and iconmin-widthandmin-heightusingrem(~2.75rem ≈ 44px) to meet touch target guidelinespointer-events: noneon decorative children to ensure the button receives tapstouch-action: manipulationfor better tap responsivenessonActivate) and added a simple long-press fallback.Files changed
Testing
npm run devand load app onhttp://localhost:3000.Notes
Fixes #2064