From 98584ad70098cc77208eb0d51894d8907ee3763f Mon Sep 17 00:00:00 2001 From: SandObserver <260779319+SandObserver@users.noreply.github.com> Date: Sun, 30 Aug 2026 14:02:33 -0400 Subject: [PATCH] Fix: take a label's ellipsis side from the name in Safari unicode-bidi:plaintext moves the cut in Blink and is ignored by WebKit, where a Latin name on a right-to-left dashboard was clipped at both ends. The labels are centred, so the direction can go on the block itself. --- CHANGELOG.md | 4 ++-- ui/admin/index.html | 2 +- ui/css/dashboard.css | 12 ++++------ ui/index.html | 4 ++-- ui/js/admin-app-form.js | 6 ++--- ui/js/admin-auth.js | 4 ++-- ui/js/admin-color-control.js | 4 ++-- ui/js/admin-settings.js | 4 ++-- ui/js/admin-shared.js | 2 +- ui/js/admin-widget-form.js | 6 ++--- ui/js/admin.js | 14 +++++------ ui/js/dashboard.js | 7 +++--- ui/js/spotlight.js | 2 +- ui/js/ui.js | 7 +++++- ui/js/utils.js | 4 ++++ ui/js/widget-config-form.js | 6 ++--- ui/test/dashboard-localisation.test.mjs | 31 ++++++++++++++++++------- 17 files changed, 70 insertions(+), 49 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f958c746..6f836063 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -72,8 +72,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 concept, and no longer leave "Logging", "API key", "Collection ID" or "Authentication Proxy" in English. -- A tile label is now cut at the end of its own name. On a right-to-left - dashboard a Latin name lost its beginning instead. +- A tile label is now cut at the end of its own name in Safari too. On a + right-to-left dashboard a Latin name lost its beginning instead. - Opening and saving an app no longer rewrites a colour that was not changed. diff --git a/ui/admin/index.html b/ui/admin/index.html index ff5c9732..d5242f48 100644 --- a/ui/admin/index.html +++ b/ui/admin/index.html @@ -323,6 +323,6 @@