On a phone the played cards render 48px wide, but the game-table spec's 'Cards render at… #20

Open
opened 2026-11-10 23:58:45 -05:00 by cmoriarty · 0 comments
Owner

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:

  • Read from the mobile media query while implementing group 6 (trump, hand, and cards): .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.

**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:** - Read from the mobile media query while implementing group 6 (trump, hand, and cards): `.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.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cmoriarty/scratch-vllm-fp8#20
No description provided.