diff --git a/client/src/components/templates/Asset/index.module.scss b/client/src/components/templates/Asset/index.module.scss index b8421ad..f441f00 100644 --- a/client/src/components/templates/Asset/index.module.scss +++ b/client/src/components/templates/Asset/index.module.scss @@ -9,4 +9,11 @@ width: fit-content; color: $brand-white; font-weight: $font-weight-bold; + + &, + + div { + max-width: 30rem; + margin-left: auto; + margin-right: auto; + } } diff --git a/client/src/components/templates/Asset/index.tsx b/client/src/components/templates/Asset/index.tsx index 5b10e2d..2141ccf 100644 --- a/client/src/components/templates/Asset/index.tsx +++ b/client/src/components/templates/Asset/index.tsx @@ -9,6 +9,7 @@ import Content from '../../atoms/Content' import CategoryImage from '../../atoms/CategoryImage' import styles from './index.module.scss' import withTracker from '../../../hoc/withTracker' +import Web3message from '../../organisms/Web3message' interface AssetProps { match: { @@ -61,7 +62,10 @@ class Asset extends Component { ) : hasError ? ( -
{error}
+ +
{error}
+ +
) : (