Let trending topic names wrap to two lines (#11323)
This commit is contained in:
@@ -218,7 +218,7 @@ function TrendRow({
|
|||||||
</Trans>
|
</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
<View style={[a.flex_1, a.gap_xs]}>
|
<View style={[a.flex_1, a.gap_xs]}>
|
||||||
<Text style={[a.text_md, a.font_medium]} numberOfLines={1}>
|
<Text style={[a.text_md, a.font_medium]} numberOfLines={2}>
|
||||||
{trend.displayName}
|
{trend.displayName}
|
||||||
</Text>
|
</Text>
|
||||||
<View style={[a.flex_row, a.gap_sm, a.align_center]}>
|
<View style={[a.flex_row, a.gap_sm, a.align_center]}>
|
||||||
|
|||||||
@@ -156,7 +156,7 @@ export function TrendRow({
|
|||||||
<View style={[a.flex_1, a.gap_2xs]}>
|
<View style={[a.flex_1, a.gap_2xs]}>
|
||||||
<Text
|
<Text
|
||||||
style={[a.text_md, a.font_semi_bold, a.leading_snug]}
|
style={[a.text_md, a.font_semi_bold, a.leading_snug]}
|
||||||
numberOfLines={1}>
|
numberOfLines={2}>
|
||||||
{trend.displayName}
|
{trend.displayName}
|
||||||
</Text>
|
</Text>
|
||||||
{description ? (
|
{description ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user