The page titles carry margin-bottom: var(--space-3), which is what spaces them from the content on the plain block panels — Recorder, Settings and About.
#tab-statistics is not one of those. It is a flex column with gap: 1rem, so the margin landed on top of that gap:
before statistics 28px recorder 12px settings 12px about 12px
after statistics 16px recorder 12px settings 12px about 12px
Dropping the margin on that panel lets its own gap do the spacing.
On the remaining 16 vs 12
Statistics settles at 16px rather than 12px because that is its panel gap, which every other child of that panel is spaced by. Forcing it to 12px would need a negative margin fighting the container. Matching the page's own rhythm is the better answer than matching a number across pages that lay out differently.
Full gate green — lint, 34/34 test, build, test:browser.
## The offset
The page titles carry `margin-bottom: var(--space-3)`, which is what spaces them from the content on the plain block panels — Recorder, Settings and About.
`#tab-statistics` is not one of those. It is a flex column with `gap: 1rem`, so the margin landed **on top of** that gap:
```
before statistics 28px recorder 12px settings 12px about 12px
after statistics 16px recorder 12px settings 12px about 12px
```
Dropping the margin on that panel lets its own `gap` do the spacing.
## On the remaining 16 vs 12
Statistics settles at 16px rather than 12px because that is its panel gap, which every other child of that panel is spaced by. Forcing it to 12px would need a negative margin fighting the container. Matching the page's own rhythm is the better answer than matching a number across pages that lay out differently.
Full gate green — `lint`, 34/34 `test`, `build`, `test:browser`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01GdyUjuXejCEfiub675z6cz
The page titles carry a bottom margin, which is what spaces them from the
content on the plain block panels. #tab-statistics is not one: it is a
flex column with `gap: 1rem`, so the margin landed on top of that gap and
left 28px under the title where every other page had 12px.
Drop the margin on that panel and let its own gap do the spacing.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GdyUjuXejCEfiub675z6cz
Signed-off-by: Stan Grams <sjg@haxx.space>
sjg
merged commit 5ad91b4ab6 into main2026-08-02 23:51:03 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The offset
The page titles carry
margin-bottom: var(--space-3), which is what spaces them from the content on the plain block panels — Recorder, Settings and About.#tab-statisticsis not one of those. It is a flex column withgap: 1rem, so the margin landed on top of that gap:Dropping the margin on that panel lets its own
gapdo the spacing.On the remaining 16 vs 12
Statistics settles at 16px rather than 12px because that is its panel gap, which every other child of that panel is spaced by. Forcing it to 12px would need a negative margin fighting the container. Matching the page's own rhythm is the better answer than matching a number across pages that lay out differently.
Full gate green —
lint, 34/34test,build,test:browser.🤖 Generated with Claude Code
https://claude.ai/code/session_01GdyUjuXejCEfiub675z6cz