Fix descenders cutoff in new chat dialog (#4359)

zio/stable
Eric Bailey 2024-06-04 14:51:38 -05:00 committed by GitHub
parent a2d5343a87
commit e64b7cf698
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -395,11 +395,13 @@ function ProfileCard({
/> />
<View style={[a.flex_1, a.gap_2xs]}> <View style={[a.flex_1, a.gap_2xs]}>
<Text <Text
style={[t.atoms.text, a.font_bold, a.leading_snug]} style={[t.atoms.text, a.font_bold, a.leading_tight]}
numberOfLines={1}> numberOfLines={1}>
{displayName} {displayName}
</Text> </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} {!enabled ? <Trans>{handle} can't be messaged</Trans> : handle}
</Text> </Text>
</View> </View>