[Chat] Fix overflowing chat names (#10780)

This commit is contained in:
Samuel Newman
2026-06-08 13:50:44 +03:00
committed by GitHub
parent 753015b59f
commit 35258f1a16
2 changed files with 6 additions and 2 deletions
@@ -94,7 +94,7 @@ export function MessagesListGroupInfoPanel({
/>
{convo.details.name ? (
<Text
style={[a.text_2xl, a.font_bold, a.mt_lg, a.px_lg, t.atoms.text]}>
style={[a.text_2xl, a.font_bold, a.mt_lg, a.px_xl, a.text_center]}>
{convo.details.name}
</Text>
) : null}
@@ -55,8 +55,12 @@ export function MessagesListInfoPanel({
a.justify_center,
a.gap_xs,
a.mt_lg,
a.px_xl,
a.max_w_full,
]}>
<Text style={[a.text_2xl, a.font_bold, t.atoms.text]}>
<Text
style={[a.text_2xl, a.font_bold, a.text_center, a.flex_shrink]}
numberOfLines={1}>
{displayName}
</Text>
<ProfileBadges profile={profile} size="lg" />