Skip to content

[bug] Library A–Z rail is unreadable on short windows with a large browser font and Extra large text #4898

Open

Description

@Quick104

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

  1. Set the browser's default font size to 24px.
  2. Open a library at a 1280×650 window.
  3. Set Settings → Accessibility → Text size to Extra large.
  4. 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

  1. added
    bug
    on Nov 21, 2026
  2. added
    impact: usability
    priority: P2
    triaged
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugimpact: usabilitypriority: P2triaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions