Allow two lines, fix wrapping
This commit is contained in:
@@ -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>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user