Skip to content

board: on a phone a table row is a card, not a ribbon - #272

Merged
Jammy2211 merged 1 commit into
mainfrom
claude/mobile-scroll-dashboard-inconsistency-7xoqnu
Aug 24, 2026
Merged

board: on a phone a table row is a card, not a ribbon#272
Jammy2211 merged 1 commit into
mainfrom
claude/mobile-scroll-dashboard-inconsistency-7xoqnu

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

The sideways scroll is gone (#266, #270, PyAutoHeart#174) and what it was hiding is now the problem: a four-column row does not fit a phone, it just stops overflowing.

The measurement

At a 375px viewport, per row:

before after
Mind Recent — text cell 187px (of 375) 343px
Heart board — summary cell 213px (of 390) 358px
Heart board — tallest row 472px 316px

The meta columns took 156px of 375 on the Mind feed, so every entry wrapped into a tall thin column down the right while when and what sat beside it as empty height — text bunched to the right, running a long way down, with whitespace where the columns were.

The change

Below 34rem the row stacks: the meta cells read as one small header line with the 📋 at its end, and the text takes a full-width line underneath. Each board's own cells fall into the same frame — the Heart's dot and title lead, its summary follows (that half is PyAutoHeart's own three lines, since the theme owns only the cells it defines).

The wide layout is untouched: the media query is the only new selector, and above 34rem nothing matches.

One trap worth naming

:not([hidden]) on the flex rule is load-bearing, not defensive. display:flex outranks the UA stylesheet's [hidden]{display:none}, so a bare table.recent tr selector reveals the whole paged Recent feed at once — 50 rows instead of 10. Caught by the page growing from 6.3k to 11.5k pixels between two renders, and pinned by a test.

Tests

469 pass, three new: the stack, the text's full-width line, and the hidden-row guard.


Generated by Claude Code

The sideways scroll is gone, and what it was hiding is now the problem: a
four-column row does not fit a phone, it just stops overflowing. Measured on
the Mind dashboard's Recent feed at a 375px viewport, the meta columns took
156px and the text was left 187 — half the screen — so every entry wrapped
into a tall thin column down the right while `when` and `what` sat beside it
as empty height. The Heart board is the same shape and worse: its summary had
213px of 390 and one row ran 472px down the screen.

Below 34rem the row stacks instead. The meta cells read as one small header
line with the 📋 at its end, and the text takes a full-width line underneath:
187px -> 343px on the Mind feed, and each board's own cells fall into the same
frame (the Heart's dot and title lead, its summary follows).

`:not([hidden])` on the flex rule is load-bearing rather than defensive:
`display:flex` outranks the UA sheet's `[hidden]{display:none}`, so a bare
`table.recent tr` selector reveals the whole paged Recent feed at once — 50
rows instead of 10. Caught by the page growing from 6.3k to 11.5k pixels
between two renders; pinned by a test.

469 tests pass, three new (the stack, the text's full-width line, the hidden
guard). The wide layout is untouched — the media query is the only new
selector above 34rem.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VhpLPmmoSFAtVpppG8azVA
@Jammy2211
Jammy2211 merged commit 19175b6 into main Aug 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants