about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-09-12 13:56:25 -0500
committerEric Bailey <git@esb.lol>2024-09-12 13:56:25 -0500
commitcc8e7b5ae5686cfc51ee015d94cd726997d3c01a (patch)
tree2a0cfa06c529eebdbc518899cccae92773e8559f
parent1f2e4b26c0e6a01bf6a297b333ba7c7f96149006 (diff)
downloadvoidsky-cc8e7b5ae5686cfc51ee015d94cd726997d3c01a.tar.zst
Handle display name
-rw-r--r--src/components/dialogs/nuxs/TenMillion/index.tsx10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/components/dialogs/nuxs/TenMillion/index.tsx b/src/components/dialogs/nuxs/TenMillion/index.tsx
index 786c635c1..6d80dd12a 100644
--- a/src/components/dialogs/nuxs/TenMillion/index.tsx
+++ b/src/components/dialogs/nuxs/TenMillion/index.tsx
@@ -417,7 +417,15 @@ export function TenMillionInner({userNumber}: {userNumber: number}) {
                       />
                         */}
                       <View style={[a.gap_2xs, a.flex_1]}>
-                        <Text style={[a.text_sm, a.font_bold, a.leading_tight]}>
+                        <Text
+                          numberOfLines={1}
+                          style={[
+                            a.flex_1,
+                            a.text_sm,
+                            a.font_bold,
+                            a.leading_snug,
+                            {maxWidth: '60%'},
+                          ]}>
                           {sanitizeDisplayName(
                             profile.displayName ||
                               sanitizeHandle(profile.handle),