diff options
Diffstat (limited to 'src/components/forms')
-rw-r--r-- | src/components/forms/FormError.tsx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/components/forms/FormError.tsx b/src/components/forms/FormError.tsx index 905aeebd6..9e72df879 100644 --- a/src/components/forms/FormError.tsx +++ b/src/components/forms/FormError.tsx @@ -13,16 +13,17 @@ export function FormError({error}: {error?: string}) { return ( <View style={[ - {backgroundColor: t.palette.negative_600}, + {backgroundColor: t.palette.negative_400}, a.flex_row, - a.align_center, - a.mb_lg, a.rounded_sm, - a.p_sm, + a.p_md, + a.gap_sm, ]}> - <Warning fill={t.palette.white} size="sm" /> - <View style={(a.flex_1, a.ml_sm)}> - <Text style={[{color: t.palette.white}, a.font_bold]}>{error}</Text> + <Warning fill={t.palette.white} size="md" /> + <View> + <Text style={[{color: t.palette.white}, a.font_bold, a.leading_snug]}> + {error} + </Text> </View> </View> ) |