flex_1 text container (#5891)

This commit is contained in:
Samuel Newman
2024-10-28 18:28:54 +02:00
committed by GitHub
parent e652b2d7b1
commit 1c992beff6
@@ -65,7 +65,7 @@ export function Card({
<View style={[a.w_full, a.gap_md]}>
<View style={[a.flex_row, a.gap_sm]}>
{!noIcon ? <StarterPack width={40} gradient="sky" /> : null}
<View>
<View style={[a.flex_1]}>
<Text emoji style={[a.text_md, a.font_bold, a.leading_snug]}>
{record.name}
</Text>