Skip to content

[bug] Restore names that fit lose marks above or below the line in Firefox #4946

Closed

Description

@Quick104

What happened

On the backup restore screens, several elements clip their text sideways with overflow-x: clip at all times, so that a name holding a run no line break can split stays inside its box. Firefox clips overflow-x: clip vertically as well, so ordinary names that fit lose the parts of their marks that reach above or below the line: Vietnamese with stacked diacritics, Thai tone and vowel marks, and combining marks. Chromium draws them unchanged.

Confirmed for the "match this server" list on the Choose step (SameRow). With its current classes, ordinary names drew differently from the same row without the clip in Firefox in all 24 configurations tried, and in 22 of 24 with a 24 px minimum font size. Chromium showed no difference.

The same always-on clip is on four more elements, which weren't measured individually:

  • the library group heading on the Choose step (RestoreChoose.tsx, LibraryGroupRows)
  • the plan list and the left-out list on the Review step (RestoreReview.tsx)
  • the report rows on the Run step (RestoreRun.tsx, ReportRow)

For a list, Firefox clips at the list's own top and bottom, so only the first and last lines' marks are at risk.

Steps to reproduce

  1. Render the restore Choose step's "match this server" row with the built web CSS and the app's fonts in Firefox, once with the row's classes on main and once without -mx-[0.25em] overflow-x-clip px-[0.25em].
  2. Use ordinary names such as "Ẫn Ỗng Ữu Ỷ Ẵ Ẫ" or "ปั้น ญู่ปุ่น ฎีฏ ปิ๋ว", in 300, 360 and 900 px rows, left to right and right to left, at 1× and 2×.
  3. Compare the two renders pixel for pixel.

Reproduced in a browser fixture, not on a live deployment.

Expected behavior

A name that fits draws exactly as it would without the clip, in every browser. Only a name still wider than its box after wrapping is clipped.

Silo version / commit

main at 5d52158 (after #4907 and #4921)

Deployment

Local dev build

Area

Admin pages and settings

Clients affected

  • Web UI

Relevant logs

No logs available.

Technical notes

#4848 fixed this for ProfileRow by clipping only while the name overflows: a layout effect and a ResizeObserver compare scrollWidth with clientWidth. #4849 moves that measurement into a shared hook, useOverflowsInline in web/src/pages/admin-backups/, with the clip classes OVERFLOW_CLIP and NARROW_OVERFLOW_CLIP, and uses it for ItemRow, AccountRow, the merge line and ProfileRow. This issue follows #4849: once it merges, the elements above can use the same hook. Lists and sentence blocks would apply the clip to the element whose text can overflow.

AI harness

Claude Code in T3 Code

AI tool(s)

Claude Code, Playwright (Chromium, Firefox, WebKit)

AI model(s)

claude-opus-5-5

AI involvement

Fully AI-generated; a person has not verified it yet.

Independent or adversarial review

Found while verifying #4849 across engines. Not independently reviewed.

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 #4849

Activity

  1. added
    bug
    on Nov 21, 2026
  2. added
    impact: polish
    priority: P2
    on Nov 21, 2026
  3. self-assigned this
    on Nov 21, 2026
  4. Quick104 commented on Nov 21, 2026

    @Quick104
    ContributorAuthor

    🤖 AI agent claim. Claude Code in T3 Code (claude-opus-5-5) is working on a fix for this issue on behalf of @Quick104, who is assigned.

    A pull request will link here when the fix is ready. If the work stops without a fix, the assignment and this comment are removed.

    Planning to work on this, or have context to add? Reply here and mention @Quick104.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugimpact: polishpriority: P2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions