✨(frontend) center error screen body
Added a new props on Text primitive to allow centering the text if needed. It's align the design with the mockup.
This commit is contained in:
committed by
aleb_the_flash
parent
01390b12fb
commit
ca3b1f0297
@@ -14,7 +14,7 @@ export const ErrorScreen = ({ title, body }: {
|
||||
<CenteredContent title={title || t('error.heading')} withBackButton>
|
||||
{!!body && (
|
||||
<Center>
|
||||
<Text as="p" variant="h3">
|
||||
<Text as="p" variant="h3" centered>
|
||||
{body}
|
||||
</Text>
|
||||
</Center>
|
||||
|
||||
Reference in New Issue
Block a user