fix(collections): make per-card remove buttons usable on touch #19

Closed
fabi wants to merge 1 commits from fix/collection-remove-touch into main

1 Commits

Author SHA1 Message Date
MechaCat02
9a16082015 fix(collections): make per-card remove buttons usable on touch
All checks were successful
deploy / test-backend (pull_request) Successful in 28m14s
deploy / test-frontend (pull_request) Successful in 10m17s
deploy / build-and-push (pull_request) Has been skipped
deploy / deploy (pull_request) Has been skipped
The remove buttons on a collection's cards were revealed only on
hover / focus-within (opacity 0 → 1), so on touch they were invisible and
undiscoverable. Show them persistently at the 640px breakpoint and enlarge
the hit area from 24px to 32px (kept below the full 44px floor because the
button floats over a 4-up cover thumbnail).

Test pins the CSS contract (jsdom can't evaluate @media): the mobile block
makes `.remove` opaque.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 20:08:16 +02:00