Skip to content

[bug] Phone admin header clips Thai tone marks when the UI font hasn't loaded #4676

Open

Description

@Quick104

What happened

When the web UI font (Plus Jakarta Sans) isn't available, the Thai title for Plugins (ปลั๊กอิน) in the phone admin header loses the top of its stacked tone mark. That covers a blocked font request, a browser that blocks web fonts, and the moment before the font has loaded. The title uses truncate, which clips to its line box. With a different first font the baseline sits higher in that box, leaving less room above it than Thai's stacked marks need.

This follows #4674, which gives the title leading-normal (1.5). That fixes the clipping with Plus Jakarta Sans loaded in every shipped locale, but leaves this case. Its fix changes the same line, so it waits for #4674 to merge.

Steps to reproduce

  1. With fix(web): stop the phone admin header from cutting off title descenders #4674 applied, render the phone admin header title (block truncate text-[15px] leading-normal font-extrabold tracking-tight) with Plus Jakarta Sans unavailable, so the first available font is the platform's sans-serif.
  2. Set the title to the Thai Plugins title, ปลั๊กอิน.
  3. Compare the title's ink with its box.

Checked in Chromium on macOS at 393 px and 3× scale, in a static page with the same styles. Every shipped locale's admin header titles were measured:

  • leading-normal (1.5): the Thai Plugins title's tone mark extends 1.16 px above the box and is clipped. No other title clips.
  • leading-relaxed (1.625) and 1.75: nothing clips.

An adversarial review of #4674 reported the same with the font request blocked on the app itself: four device-pixel rows lost at the default text size, five at x-large.

Expected behavior

The title shows whole marks whether or not the UI font has loaded, and long titles still end in an ellipsis.

Silo version / commit

main at 66b836f with #4674 (d9974aa) applied.

Deployment

Local dev build

Area

Admin pages and settings

Clients affected

  • Web UI

Client app and device

Chromium on macOS, 393 px viewport (iPhone profile). Not checked in Safari or on a device.

Relevant logs

No logs available; this is a rendering issue.

Technical notes

Before #4674 the title used leading-none, which clipped this mark even with the font loaded (3.16 px), so #4674 reduces the problem without closing it. A likely fix is leading-relaxed on the title. Re-check the eyebrow spacing, the 2 px rise of the text stack, and the ellipsis at 320 px when changing it.

AI harness

Claude Code in T3 Code

AI tool(s)

Claude Code

AI model(s)

claude-opus-5-5; reported in review by gpt-6.2-sol

AI involvement

Fully AI-generated, human verified

Independent or adversarial review

Found by the adversarial review of #4674 (gpt-6.2-sol). Confirmed separately in a static Chromium fixture with every shipped locale's titles, as described above.

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 (reproduced in a static browser fixture with the same styles, not on a 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 #4674

Activity

  1. added
    bug
    on Nov 20, 2026
  2. added
    impact: polish
    priority: P2
    triaged
    on Nov 20, 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: polishpriority: P2triaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions