Repository navigation
Description
What happened
On a short browser window with a large browser default font, choosing Settings → Accessibility → Text size → Extra large makes the library A–Z rail hard or impossible to read. The rail's height is the window height minus a margin in rem, so a larger root font leaves less room for its 27 rows. On main, at 1280×650 with a 24px browser default and Extra large, the rows are about 8px tall and the 12.4px letters overlap. With #4861 the letters are capped at 80% of their row height, so they no longer overlap, but they shrink to about 6px (and to about 2px at 600px tall with the impersonation banner). The two-column layout that exists for short windows only switches on below 600px of window height, regardless of text size.
Steps to reproduce
- Set the browser's default font size to 24px.
- Open a library at a 1280×650 window.
- Set Settings → Accessibility → Text size to Extra large.
- Look at the A–Z rail on the right.
Expected behavior
The rail stays readable at every text size: it switches to two columns (or otherwise gives each letter enough room) when its rows get too short, not only when the window is shorter than 600px.
Silo version / commit
main at 675402d; measured by rendering the real LetterBar in headless Chromium. Not reproduced on a deployment.
Deployment
Not deployment-specific (web client layout).
Area
Web UI
Clients affected
- Web UI
Relevant logs
No logs available; this is a layout issue.
Technical notes
web/src/components/catalog/LetterBar.tsx: the rail is h-[min(42rem,calc(100dvh-14rem-var(--impersonation-banner-height)))], and the two-column grid is behind [@media(max-height:599px)]. The caller reserves page padding for the rail in web/src/pages/LibraryBrowse.tsx. Choosing the layout from the space the rows actually get (a container query on the rail, say) needs the caller's padding to follow.
This follows #4861, which changes the LetterBar class strings and adds the per-row size cap. Its fix waits for that PR to merge.
Defect: Silo-Server/silo-server web/src/components/catalog/LetterBar.tsx LetterBar
AI harness
Claude Code in T3 Code
AI tool(s)
Claude Code; T3 Code delegate tasks to Codex (adversarial review)
AI model(s)
claude-opus-5-5; review by gpt-6.2-sol
AI involvement
Fully AI-generated; not yet verified by a person
Independent or adversarial review
gpt-6.2-sol measured the rail in headless Chromium at 1280×650, 1280×600 and 1280×599 with a 24px browser default during review of #4861. The base-branch overlap is derived from the rail's height formula and the old 12.4px letter size.
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
- Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above
Source: found in review of #4861
Activity