Repository navigation
Description
What happened
On the backup restore Choose step on a phone, when the browser's own default font size is raised (24 px instead of 16 px) and Silo's text size is x-large, the restore list runs past the right edge of the screen, and the app shell clips it. In Finnish at 320 px, the Restart badge label ("Uudelleenkäynnistys") loses about 35 px at the edge.
The cause is the page layout, not the row. Below the lg breakpoint, the restore page stacks the item list and the summary panel in a one-column grid. The summary <aside> has no min-w-0, so its minimum content width (about 344 px at this text size) sets the column's width, which is wider than a 320 px screen. Everything in the list column is then laid out at that width. The Restart badge's label is also one word with no break opportunity, so it can't fit a narrower row either.
This follows #4724, which fixes the restart notice sentence itself (#4695). With #4724, the sentence stays inside its row; at this text size it still runs about 19 px past the screen because the row is wider than the screen. On main before #4724, the same trigger puts the sentence about 318 px past the screen.
Source: found in review of #4724
Steps to reproduce
- Set the browser's default font size to 24 px (Chrome: Settings → Appearance → Font size → Customize, or Firefox: Settings → Fonts → Size).
- Set the browser language to Finnish and Silo's text size to x-large (Settings → Accessibility).
- Have a backup whose settings differ from the server's for a setting that needs a restart (for example, take a backup, then change
scanner.empty_trash_after_scan). - At 320 px wide, open Admin → Backups → Restore, and on the Choose step open the details of the "Library & Metadata" item.
Expected behavior
The restore list and its notices fit the screen at phone widths with enlarged browser text: the summary panel doesn't widen the list column, and the Restart badge label and the notice sentence wrap or break instead of running past the edge.
Silo version / commit
main at ab6e84d, plus #4724 at 7a00aae.
Deployment
Measured on a component fixture that renders the restore Choose step (RestoreChoose) with the shipped Finnish strings, the admin page gutters, and the app's fonts, in headless Chromium 159 and Firefox 159. Not reproduced on a full deployment: the dev sandbox host was out of disk space.
Area
Web UI
Clients affected
- Web UI
Relevant logs
None; this is a layout problem. Measurements (Finnish, Silo x-large, browser default 24 px):
| Width | Build | Sentence past screen | Badge label past screen | Summary panel min width |
|---|---|---|---|---|
| 320 px | main |
318 px | 35 px | 344 px |
| 320 px | #4724 | 19 px | 35 px | 344 px |
| 393 px | #4724 | 0 | 0 | 344 px |
Chromium and Firefox agree within 2 px.
Technical notes
web/src/pages/admin-backups/RestoreChoose.tsx: the gridgrid gap-8 lg:grid-cols-[minmax(0,1fr)_20rem]has one implicitautocolumn belowlg. The list's wrapper hasmin-w-0; the summary<aside>doesn't, so its min-content width sets the column's minimum.web/src/components/settings/RestartBadge.tsx: the badge isshrink-0and its label is a single word, so it needs a break opportunity (for exampleoverflow-wrap: anywhereandmax-width: 100%) to fit a row narrower than the word. The same badge appears in the settings card under the notice and on settings pages.- The notice row in
itemDetails(RestoreRows.tsx) would also needoverflow-wrap: anywhereso "uudelleenkäynnistyksen" can break once the column fits the screen. That's the line fix(web): move the restore restart notice under its badge when a translation can't fit beside it #4724 changes, so this waits for fix(web): move the restore restart notice under its badge when a translation can't fit beside it #4724 to merge. - In a review fixture,
min-w-0on the aside,max-inline-size: 100%on the badge, andoverflow-wrap: anywhereon the notice row kept both strings on screen in Chromium and Firefox.
AI harness
Claude Code in T3 Code
AI tool(s)
Claude Code; T3 Code delegated tasks for the adversarial review (Codex)
AI model(s)
claude-opus-5-5; the adversarial review that found it ran on gpt-6.2-sol
AI involvement
Fully AI-generated; measured by the agents on a component fixture
Independent or adversarial review
Found by the adversarial review of #4724 (gpt-6.2-sol). The agent re-measured it against both main and #4724 in Chromium and Firefox and confirmed that main shows it too.
Confirmations
- I searched open and recently closed issues and pull requests, and this is not already reported
- I reproduced this myself on a real deployment (measured on a component fixture; see Deployment)
- Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above
Activity
Quick104 commentedon Nov 21, 2026
More data from a second review of #4724 (gemini-4-neon), measured in Chromium, Firefox, and WebKit. Rows below are 320 px wide unless noted; each case is "browser default font × Silo x-large":
These row widths assume the list column fits the screen. Today the summary panel's minimum width (described above) makes the column wider, so the fix needs both parts.
Notes for the fix:
overflow-wrap: anywhere(wrap-anywhere) on the notice row doesn't change any line break when words fit, becauseflex-wrapplaces items by their max-content size. Tested across 200–560 px in all three engines.RestartBadge:max-w-fullon the outer span,shrink-0on the icon, andmin-w-0 wrap-anywhereon the label. Multi-word labels (Croatian, Turkish, Arabic, Hebrew) then wrap at spaces, and single-word labels stay inside the row. Check the badge's other call sites (RestoreRows.tsxsettings diff,SettingField.tsx,ProviderTile.tsx) for wrapping beside sibling labels.🤖 Claude Code (claude-opus-5-5)