From d23e1f45a75106199bc4c5cfa6b98974df0d9710 Mon Sep 17 00:00:00 2001 From: Quick104 <31828688+Quick104@users.noreply.github.com> Date: Fri, 20 Nov 2026 22:26:33 -0500 Subject: [PATCH 1/2] fix(web): clip restore item and account names that can't wrap A restore row's name that holds a run no line break can split, such as emoji joined by zero-width joiners, ran past its row on the Choose step in narrow rows. Item names (libraries, collections, home sections, plugins), account names, and an account's "Merge into" line now clip that run sideways at the row's edge, as profile names do since #4755. Every other name renders as before. Co-Authored-By: Claude Opus 5.5 --- web/src/pages/admin-backups/RestoreRows.tsx | 7 +++++-- web/src/pages/admin-backups/RestoreUsers.tsx | 14 +++++++++++--- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/web/src/pages/admin-backups/RestoreRows.tsx b/web/src/pages/admin-backups/RestoreRows.tsx index e2ba125312..c60025d9f0 100644 --- a/web/src/pages/admin-backups/RestoreRows.tsx +++ b/web/src/pages/admin-backups/RestoreRows.tsx @@ -332,12 +332,15 @@ export const ItemRow = memo(function ItemRow({ />
{/* block: Label is a flex box, which would clip the name without an ellipsis. - Chromium breaks at even under nowrap, so a one-line row hides them. */} + Chromium breaks at even under nowrap, so a one-line row hides them. + A narrow row clips sideways any part of the name that can't wrap, such as + one long run of joined emoji; the 0.25em of padding, offset by a negative + margin, keeps letters whole whose ink reaches past their edge. */}