Fix error styles (#4063)
parent
449f16b7c5
commit
0c6af4fc6e
|
@ -28,23 +28,19 @@ export function MessageListError({item}: {item: ConvoItem & {type: 'error'}}) {
|
|||
}, [_, item.code])
|
||||
|
||||
return (
|
||||
<View style={[a.py_lg, a.align_center]}>
|
||||
<View style={[a.py_md, a.w_full, a.flex_row, a.justify_center]}>
|
||||
<View
|
||||
style={[
|
||||
a.flex_1,
|
||||
a.flex_row,
|
||||
a.align_center,
|
||||
a.justify_between,
|
||||
a.justify_center,
|
||||
a.gap_sm,
|
||||
a.pb_lg,
|
||||
{maxWidth: 400},
|
||||
]}>
|
||||
<CircleInfo
|
||||
size="sm"
|
||||
fill={t.palette.negative_400}
|
||||
style={[{top: 3}]}
|
||||
/>
|
||||
<CircleInfo size="sm" fill={t.palette.negative_400} />
|
||||
|
||||
<Text style={[a.leading_snug, a.flex_1, t.atoms.text_contrast_medium]}>
|
||||
<Text style={[a.leading_snug, t.atoms.text_contrast_medium]}>
|
||||
{description} ·{' '}
|
||||
{item.retry && (
|
||||
<InlineLinkText
|
||||
|
|
Loading…
Reference in New Issue