Allow two lines, fix wrapping

This commit is contained in:
Eric Bailey
2024-12-03 12:23:20 -06:00
parent e2dcb53937
commit 48623b386b
+8 -2
View File
@@ -116,8 +116,14 @@ export function TitleText({children}: {children: React.ReactNode}) {
const {gtMobile} = useBreakpoints() const {gtMobile} = useBreakpoints()
return ( return (
<Text <Text
style={[a.text_lg, a.font_heavy, a.leading_snug, gtMobile && [a.text_xl]]} style={[
numberOfLines={1}> a.text_lg,
a.font_heavy,
a.leading_tight,
a.text_center,
gtMobile && [a.text_xl],
]}
numberOfLines={2}>
{children} {children}
</Text> </Text>
) )