Merge pull request #3452 from urbit/mp/404/bg

error: add background style
This commit is contained in:
matildepark 2020-09-08 19:27:59 -04:00 committed by GitHub
commit 89ddac2f7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ class ErrorComponent extends Component<ErrorProps> {
render () {
const { code, error, history, description } = this.props;
return (
<Col alignItems="center" justifyContent="center" height="100%" p={4}>
<Col alignItems="center" justifyContent="center" height="100%" p="4" backgroundColor="white">
<Box mb={4}>
<Text fontSize={3}>
{code ? code : 'Error'}