about summary refs log tree commit diff
path: root/src/view/com/post-thread/PostThreadItem.tsx
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-07-08 10:06:00 -0700
committerGitHub <noreply@github.com>2024-07-08 18:06:00 +0100
commitf8a59e10dd347e9187aa4414a0ece04eff3b9bc3 (patch)
treea689cdf9271a356113ace131aff0cd2bae68f7a5 /src/view/com/post-thread/PostThreadItem.tsx
parentd5503d17de4a3b8f2d769f7819baf47cf9b0a209 (diff)
downloadvoidsky-f8a59e10dd347e9187aa4414a0ece04eff3b9bc3.tar.zst
Fix RTL text rendering for display names (#4747)
* header display name rtl support

* highlighted post rtl

* move `NON_BREAKING_SPACE` to an external constant

* rtl support in search dropdown

* profile card rtl

* old profile card rtl

* hover card

* wizard list card

* new chat

* account card

* chat header

* clean up notifications

* just force LTR on meta display name
Diffstat (limited to 'src/view/com/post-thread/PostThreadItem.tsx')
-rw-r--r--src/view/com/post-thread/PostThreadItem.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/post-thread/PostThreadItem.tsx b/src/view/com/post-thread/PostThreadItem.tsx
index 0f5350e79..4e6ed27be 100644
--- a/src/view/com/post-thread/PostThreadItem.tsx
+++ b/src/view/com/post-thread/PostThreadItem.tsx
@@ -281,7 +281,7 @@ let PostThreadItemLoaded = ({
                 <Link style={s.flex1} href={authorHref} title={authorTitle}>
                   <Text
                     type="xl-bold"
-                    style={[pal.text]}
+                    style={[pal.text, a.self_start]}
                     numberOfLines={1}
                     lineHeight={1.2}>
                     {sanitizeDisplayName(