Skip to content
Snippets Groups Projects
Commit 9f030587 authored by Tarje.Lavik's avatar Tarje.Lavik
Browse files

Go full width on page and text container

parent e5bb11a2
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ export default function Page({ data, preview }) {
return (
<Layout preview={preview} site={page?.siteSettings}>
{/* <pre>{JSON.stringify(previewData, null, 2)}</pre> */}
<Container maxWidth="4xl" centerContent>
<Container maxWidth="full" centerContent>
{/* A Page */}
{page?.route?.page?.content && <Sections sections={page.route.page.content} />}
......
......@@ -6,7 +6,7 @@ import { Container } from '@chakra-ui/react'
export default function Index({ data, preview }) {
return (
<Layout preview={preview} site={data.siteSettings}>
<Container maxW="4xl" p="10">
<Container maxW="full">
{data.frontpage.content && <RenderSections sections={data.frontpage.content} />}
</Container>
</Layout>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment