about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-06-04 14:51:38 -0500
committerGitHub <noreply@github.com>2024-06-04 20:51:38 +0100
commite64b7cf69869ad5d984037ced7f81fc400e1daa0 (patch)
tree321729ccd0e0cfe691269941d4e891ee789d4e9b
parenta2d5343a87c05ac5640abba5c50712e2a10a7958 (diff)
downloadvoidsky-e64b7cf69869ad5d984037ced7f81fc400e1daa0.tar.zst
Fix descenders cutoff in new chat dialog (#4359)
-rw-r--r--src/components/dms/dialogs/SearchablePeopleList.tsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/dms/dialogs/SearchablePeopleList.tsx b/src/components/dms/dialogs/SearchablePeopleList.tsx
index cc3757928..d92ea6835 100644
--- a/src/components/dms/dialogs/SearchablePeopleList.tsx
+++ b/src/components/dms/dialogs/SearchablePeopleList.tsx
@@ -395,11 +395,13 @@ function ProfileCard({
           />
           <View style={[a.flex_1, a.gap_2xs]}>
             <Text
-              style={[t.atoms.text, a.font_bold, a.leading_snug]}
+              style={[t.atoms.text, a.font_bold, a.leading_tight]}
               numberOfLines={1}>
               {displayName}
             </Text>
-            <Text style={t.atoms.text_contrast_high} numberOfLines={2}>
+            <Text
+              style={[a.leading_tight, t.atoms.text_contrast_high]}
+              numberOfLines={2}>
               {!enabled ? <Trans>{handle} can't be messaged</Trans> : handle}
             </Text>
           </View>