diff --git a/src/components/organisms/AssetContent/MetaFull.module.css b/src/components/organisms/AssetContent/MetaFull.module.css index f727edb3f..0f91d82dc 100644 --- a/src/components/organisms/AssetContent/MetaFull.module.css +++ b/src/components/organisms/AssetContent/MetaFull.module.css @@ -1,9 +1,6 @@ .metaFull { margin-top: calc(var(--spacer) * 2); font-size: var(--font-size-small); - padding: var(--spacer); - border-radius: var(--border-radius); - background: var(--brand-grey-dimmed); display: grid; gap: var(--spacer); grid-template-columns: 1fr 1fr; diff --git a/src/components/organisms/AssetContent/index.module.css b/src/components/organisms/AssetContent/index.module.css index b0bc282f2..53dc15e45 100644 --- a/src/components/organisms/AssetContent/index.module.css +++ b/src/components/organisms/AssetContent/index.module.css @@ -1,13 +1,17 @@ .grid { display: grid; - gap: calc(var(--spacer) * 1.5); + gap: calc(var(--spacer) * 2); position: relative; margin-top: -1.5rem; } +.content { + composes: box from '../../atoms/Box.module.css'; + margin-top: var(--spacer); +} + @media (min-width: 60rem) { .grid { - gap: calc(var(--spacer) * 3); /* lazy golden ratio */ grid-template-columns: 1.618fr minmax(0, 1fr); } @@ -15,7 +19,7 @@ .sticky { position: sticky; top: calc(var(--spacer) / 2); - margin-top: calc(var(--spacer) * 1.5); + margin-top: var(--spacer); } } diff --git a/src/components/organisms/AssetContent/index.tsx b/src/components/organisms/AssetContent/index.tsx index c28a43a66..f3c72f7e7 100644 --- a/src/components/organisms/AssetContent/index.tsx +++ b/src/components/organisms/AssetContent/index.tsx @@ -24,7 +24,7 @@ export default function AssetContent({ return (
-
+