diff --git a/components/ErrorSection/index.module.scss b/components/ErrorSection/index.module.scss index be07a46c..78e41e59 100644 --- a/components/ErrorSection/index.module.scss +++ b/components/ErrorSection/index.module.scss @@ -1,4 +1,4 @@ -section.Error { +.error { align-items: center; display: flex; flex-direction: column; @@ -9,14 +9,13 @@ section.Error { height: 60vh; text-align: center; - .Code { + .code { color: var(--text-secondary); font-size: $font-tiny; font-weight: $bold; } - .Button { - margin-top: $unit-2x; - width: fit-content; + p { + margin-bottom: $unit-4x; } } diff --git a/components/ErrorSection/index.tsx b/components/ErrorSection/index.tsx index c37dc4ae..0970d00e 100644 --- a/components/ErrorSection/index.tsx +++ b/components/ErrorSection/index.tsx @@ -24,7 +24,7 @@ const ErrorSection = ({ status }: Props) => { const errorBody = () => { return ( <> -
{t(`errors.${statusText}.description`)}
> @@ -32,7 +32,7 @@ const ErrorSection = ({ status }: Props) => { } return ( -