From 466255df5879f47072f542d810f0e29174cdd421 Mon Sep 17 00:00:00 2001 From: st1020 Date: Tue, 27 Feb 2024 20:14:04 +0800 Subject: [PATCH] fix: auto direction for text --- static/app.css | 7 +++++++ static/main.css | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/static/app.css b/static/app.css index 13cbe30..00e07dd 100644 --- a/static/app.css +++ b/static/app.css @@ -23,6 +23,13 @@ .dark body { background: var(--bg-dark); } + + *, + ::before, + ::after { + /* Auto direction for text */ + unicode-bidi: plaintext; + } } @layer utilities { diff --git a/static/main.css b/static/main.css index f9011fe..1cdf037 100644 --- a/static/main.css +++ b/static/main.css @@ -455,7 +455,11 @@ body { background: var(--bg-dark); } -*, ::before, ::after { +*, + ::before, + ::after { + /* Auto direction for text */ + unicode-bidi: plaintext; --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-translate-x: 0;