Fix error styles (#4063)

zio/stable
Eric Bailey 2024-05-16 16:16:28 -05:00 committed by GitHub
parent 449f16b7c5
commit 0c6af4fc6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 9 deletions

View File

@ -28,23 +28,19 @@ export function MessageListError({item}: {item: ConvoItem & {type: 'error'}}) {
}, [_, item.code]) }, [_, item.code])
return ( return (
<View style={[a.py_lg, a.align_center]}> <View style={[a.py_md, a.w_full, a.flex_row, a.justify_center]}>
<View <View
style={[ style={[
a.flex_1,
a.flex_row, a.flex_row,
a.align_center, a.align_center,
a.justify_between, a.justify_center,
a.gap_sm, a.gap_sm,
a.pb_lg,
{maxWidth: 400}, {maxWidth: 400},
]}> ]}>
<CircleInfo <CircleInfo size="sm" fill={t.palette.negative_400} />
size="sm"
fill={t.palette.negative_400}
style={[{top: 3}]}
/>
<Text style={[a.leading_snug, a.flex_1, t.atoms.text_contrast_medium]}> <Text style={[a.leading_snug, t.atoms.text_contrast_medium]}>
{description} &middot;{' '} {description} &middot;{' '}
{item.retry && ( {item.retry && (
<InlineLinkText <InlineLinkText