Handle card overflow

This commit is contained in:
Eric Bailey
2024-03-14 12:55:23 -05:00
parent 2b0db1fa31
commit dbb34eb57e
+5 -6
View File
@@ -27,17 +27,14 @@ export function Outer({
<View <View
style={[ style={[
a.flex_row, a.flex_row,
a.align_center, a.gap_md,
a.gap_sm,
a.w_full, a.w_full,
a.p_lg, a.p_lg,
a.pr_md, a.pr_md,
a.overflow_hidden, a.overflow_hidden,
style, style,
]}> ]}>
<View style={[a.flex_row, a.align_center, a.w_full, a.gap_md]}> {children}
{children}
</View>
</View> </View>
) )
} }
@@ -52,7 +49,9 @@ export function Title({value}: {value: string}) {
export function Description({value, handle}: {value?: string; handle: string}) { export function Description({value, handle}: {value?: string; handle: string}) {
return value ? ( return value ? (
<RichText value={value} style={[]} /> <Text numberOfLines={2}>
<RichText value={value} style={[]} />
</Text>
) : ( ) : (
<Text> <Text>
<Trans>By {sanitizeHandle(handle, '@')}</Trans> <Trans>By {sanitizeHandle(handle, '@')}</Trans>