On a phone the played cards render 48px wide, but the game-table spec's 'Cards render at… #20
Loading…
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?
What happens: On a phone the played cards render 48px wide, but the game-table spec's 'Cards render at legible sizes' scenario requires at least 56px on a phone in portrait (64px on desktop, which holds). The 48px compaction was introduced by the earlier table-stability work; growing the played cards would change the table-centre content height and can shift the round pill, so it belongs with the group-7 table-layout rework rather than the trump/hand/card group.
Where: packages/client/src/styles.css (mobile media query, .played-card .card)
How it was seen:
.played-card .card { width: 48px; height: 67.2px; }at max-width 480px.Found by Braid's run
run_01M739SHHJF7V8J6XYCJ4QT8QY, outside the work it was doing.