Repository navigation
Description
What happened
With a small browser default font size, the admin dashboard's Health Strip switches to six cells in a row before the dashboard grid has room for them. The strip's cells use sm:grid-cols-3 lg:grid-cols-6 (HealthStripWidget.tsx), so six columns start at Tailwind's lg, 64rem, which follows the browser's default font size: 768px at a 12px default. The admin sidebar (240px) also appears at lg, so at 12px and 768–1023px wide the strip gets about 480px, and each of six cells about 66px. Values truncate to a few characters (for example the uptime shows "13m …" and the version "df37…"), and the labels have no truncation of their own.
The dashboard grid itself only switches to its 12-column layout at both 64rem and 1024px once #4844 merges. Below that the strip spans a full content-sized row, where three columns (sm:grid-cols-3) fit.
Steps to reproduce
- On a Silo dev deployment, set the browser's default font size to 12px (Chrome Settings > Appearance > Font size: Small).
- Sign in as an admin and open the admin dashboard in a window 768–1023px wide.
- Look at the Health Strip (Version, Uptime, Postgres, Redis, Nodes, Errors · 24h): six narrow cells with truncated values.
Expected behavior
The Health Strip uses six columns only where the dashboard uses its 12-column layout (both 64rem and 1024px after #4844), and three columns below that, at any browser default font size. At 16px, 20px, and 24px nothing changes, since 64rem is at least 1024px there.
Silo version / commit
main at b378b32 (also before it, at df37bfc)
Deployment
Silo dev deployment (Docker), web UI in headless Chromium with the default font size set over CDP (Page.setFontSizes)
Clients affected
- Web UI
Relevant logs
No logs available.
Technical notes
A likely fix is lg:min-[1024px]:grid-cols-6 on the strip's CardContent, the same pair #4844 gives the resize handle. That depends on #4844, so start it after that merges. The thread fixing #4808 (long translations wrapping in the same cells) also works in this component; check it first so the two don't collide.
The cell widths come from computing the layout (sidebar, gutters, card and cell padding, gaps). The truncated values were seen in captures of main at 12px and 768px. The label overflow wasn't measured.
AI harness
Claude Code in T3 Code
AI tool(s)
Claude Code; T3 Code delegated tasks for the review (Antigravity provider)
AI model(s)
claude-opus-5-5; gemini-4-neon (adversarial review)
AI involvement
Fully AI-generated; the agent confirmed it from captures and the source, a person hasn't yet
Independent or adversarial review
Raised by gemini-4-neon in the adversarial review of #4844; truncation in the same cells was also flagged by three review models in that PR's visual review.
Source: found in review of #4844
Activity