Skip to content

board: a bare list lines up with the rest of the page - #273

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

board: a bare list lines up with the rest of the page#273
Jammy2211 merged 1 commit into
mainfrom
claude/mobile-scroll-dashboard-inconsistency-7xoqnu

Conversation

@Jammy2211

Copy link
Copy Markdown
Contributor

The last odd thing on a phone: the Heart board's evidence-gap bullets sat inset from everything around them.

The cause

The UA stylesheet's 40px list indent, which nothing here overrode. Measured at a 390px viewport:

p.lede        left=16
.reasons h2   left=16
.reasons ul   left=16   padding-left: 40px   ← the UA default
.reasons li   left=56   width=318
p.hint        left=16
table.recent  left=16

Every other block began at the 16px body margin and the three bullets began at 56 — a stray column stepped in from the page.

The change

ul,ol{padding-left:1.15rem} puts the marker just inside the body margin instead: bullets at x=34, and each item's text gains the 22px back (318px → 340px).

The lists that are layout rather than prose — .stats, .boards, and the Heart board's own ul.det — set their own padding and win on specificity, so none of them moves. Verified: the Mind dashboard and the Brain board contain no bare <ul> at all (only .stats and .boards), so this is visible only where a board writes prose lists.

Tests

476 pass, one new — the default, plus a check that the two layout lists keep their zero.

No board's own code changes: this is the shared sheet, so every page picks it up on its next render.


Generated by Claude Code

The last odd thing on a phone: the Heart board's evidence-gap bullets sat
inset from everything around them. The cause is the UA stylesheet's 40px list
indent, which nothing here overrode — measured at a 390px viewport, the lede,
the heading, the hint and the table all began at x=16 and the three bullets
began at x=56, so the block read as a stray column stepped in from the page.

`ul,ol{padding-left:1.15rem}` puts the marker just inside the body margin
instead: bullets at x=34, and the text of each item gains the 22px back
(318px -> 340px on a 390px screen). The lists that are layout rather than
prose — `.stats`, `.boards`, the Heart's own `ul.det` — set their own padding
and win on specificity, so none of them moves.

476 tests pass, one new. No board's own code changes: this is the shared
sheet, so every page picks it up on its next render.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VhpLPmmoSFAtVpppG8azVA
@Jammy2211
Jammy2211 merged commit a410894 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