about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorsurfdude29 <149612116+surfdude29@users.noreply.github.com>2024-10-07 15:45:05 +0100
committerGitHub <noreply@github.com>2024-10-07 09:45:05 -0500
commitff70b8ff614fa7d4098f34fd4b020049e148376d (patch)
tree561b1022fe483c6d41763082f01fd99349874d3e /src
parentf050c51f11073272f061f1afac6acc13bdc91621 (diff)
downloadvoidsky-ff70b8ff614fa7d4098f34fd4b020049e148376d.tar.zst
use tabular numbers in CharProgress (#5631)
Diffstat (limited to 'src')
-rw-r--r--src/view/com/composer/char-progress/CharProgress.tsx8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/view/com/composer/char-progress/CharProgress.tsx b/src/view/com/composer/char-progress/CharProgress.tsx
index 1c9327410..c7d9628d6 100644
--- a/src/view/com/composer/char-progress/CharProgress.tsx
+++ b/src/view/com/composer/char-progress/CharProgress.tsx
@@ -30,7 +30,13 @@ export function CharProgress({
   return (
     <View
       style={[a.flex_row, a.align_center, a.justify_between, a.gap_sm, style]}>
-      <Text style={[{color: textColor}, a.flex_grow, a.text_right, textStyle]}>
+      <Text
+        style={[
+          {color: textColor, fontVariant: ['tabular-nums']},
+          a.flex_grow,
+          a.text_right,
+          textStyle,
+        ]}>
         {maxLength - count}
       </Text>
       {count > maxLength ? (