From d33f914a1cd046207db68e00c601192fe9a18cd5 Mon Sep 17 00:00:00 2001 From: German Khokhlov Date: Wed, 28 Oct 2026 15:23:06 +0400 Subject: [PATCH] i18n(ar): reset letter-spacing on every Arabic container A container that only holds a translate="no" span (a provider name in the Global Context lines) kept its tracking and tore its own Arabic text into separate glyphs. Only the Latin span itself keeps its letter-spacing now. Co-Authored-By: Claude Opus 5.5 --- src/ui/styles/rtl.css | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/ui/styles/rtl.css b/src/ui/styles/rtl.css index a611f34a5..921aa4c64 100644 --- a/src/ui/styles/rtl.css +++ b/src/ui/styles/rtl.css @@ -4,16 +4,12 @@ /* Arabic letters join: letter-spacing tears every word into separate glyphs. Latin marked translate="no" and the intel HUD's Latin telemetry keep their - tracking; the HUD's translated lines are released below. */ + tracking; the HUD's translated lines are released below. Unlike cjk.css, a + container that merely holds a translate="no" span is not spared: its own + Arabic text would come apart. */ html:lang(ar) body - :not( - #intel-hud, - #intel-hud *, - [translate='no'], - [translate='no'] *, - :has([translate='no']) - ) { + :not(#intel-hud, #intel-hud *, [translate='no'], [translate='no'] *) { letter-spacing: 0 !important; }