diff --git a/src/components/Layout.module.css b/src/components/Layout.module.css index e91512d78..609f8ad4d 100644 --- a/src/components/Layout.module.css +++ b/src/components/Layout.module.css @@ -12,10 +12,7 @@ } .main { - padding: calc(var(--spacer) * 2) calc(var(--spacer) / 1.5); - margin-left: auto; - margin-right: auto; - max-width: var(--layout-max-width); + padding: calc(var(--spacer) * 2) 0; /* sticky footer technique */ flex: 1; diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 3066cafc1..b7b54e29c 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -5,6 +5,7 @@ import Footer from './organisms/Footer' import PageHeader from './molecules/PageHeader' import styles from './Layout.module.css' import Seo from './atoms/Seo' +import Container from './atoms/Container' export interface LayoutProps { children: ReactNode @@ -33,10 +34,12 @@ export default function Layout({
- {title && !noPageHeader && ( - - )} - {children} + + {title && !noPageHeader && ( + + )} + {children} +