fix: prevent topbar overflow from an unbreakable Dutch role-name translation
Correctly translating auth.json's roleOperationsManager from the old two-word "Operations Manager" (which could wrap at the space) to the single Dutch compound word "Operationsmanager" (which cannot) pushed the topbar's .operator block past its 1024px-breakpoint budget, caught by the existing responsive-i18n.spec.ts overflow test. Fixed with overflow-wrap: anywhere on the role/name text and min-width: 0 on their flex-item wrapper, rather than reverting the correct translation.
This commit is contained in:
@@ -96,9 +96,9 @@ a:hover { color: var(--teal); }
|
||||
.timezone svg { width: 15px; }
|
||||
.operator { display: flex; align-items: center; gap: 9px; padding-left: 17px; border-left: 1px solid var(--line); }
|
||||
.avatar { width: 32px; height: 32px; display: grid; place-items: center; color: white; background: var(--petrol); border-radius: 50%; font-size: .67rem; font-weight: 700; }
|
||||
.operator > span:last-child { display: grid; gap: 1px; }
|
||||
.operator strong { font-size: .74rem; }
|
||||
.operator small { color: var(--muted); font-size: .64rem; }
|
||||
.operator > span:last-child { display: grid; gap: 1px; min-width: 0; }
|
||||
.operator strong { font-size: .74rem; overflow-wrap: anywhere; }
|
||||
.operator small { color: var(--muted); font-size: .64rem; overflow-wrap: anywhere; }
|
||||
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; color: var(--ink-soft); background: transparent; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; }
|
||||
.icon-button:hover { background: var(--surface-subtle); border-color: var(--line); }
|
||||
.icon-button svg { width: 18px; height: 18px; }
|
||||
|
||||
Reference in New Issue
Block a user