From e8219e458d3f681f6f06a56f0cd6fd76cfc4d4d9 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sat, 16 Mar 2024 20:02:20 +0800 Subject: [PATCH] Try this font settings out. Depends on system font's capabilities, so may not work. --- src/app.css | 2 ++ src/components/name-text.css | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/src/app.css b/src/app.css index f6964b07..bc254d31 100644 --- a/src/app.css +++ b/src/app.css @@ -34,6 +34,8 @@ a.mention span { text-decoration-color: inherit; text-decoration-thickness: 2px; text-underline-offset: 2px; + font-variant-numeric: slashed-zero; + font-feature-settings: 'ss01'; } /* a.mention:has(span).hashtag { color: var(--link-light-color); diff --git a/src/components/name-text.css b/src/components/name-text.css index 374184d4..a0b4bf89 100644 --- a/src/components/name-text.css +++ b/src/components/name-text.css @@ -8,6 +8,11 @@ font-weight: 500; unicode-bidi: isolate; } + + i { + font-variant-numeric: slashed-zero; + font-feature-settings: 'ss01'; + } } .name-text.show-acct { display: inline-block;