From 2936274fb4e47a8bbb3989e210db9447ea8a1b82 Mon Sep 17 00:00:00 2001 From: Tarje Lavik <tarje.lavik@gmail.com> Date: Tue, 21 Sep 2021 19:49:23 +0200 Subject: [PATCH] Fix container width --- web/components/PT/Inserts/ActorInsert.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/components/PT/Inserts/ActorInsert.js b/web/components/PT/Inserts/ActorInsert.js index 4b9ac03..44f1cf4 100644 --- a/web/components/PT/Inserts/ActorInsert.js +++ b/web/components/PT/Inserts/ActorInsert.js @@ -1,4 +1,4 @@ -import { Box, Flex, Heading, Image, Text } from '@chakra-ui/react' +import { Container, Box, Flex, Heading, Image, Text } from '@chakra-ui/react' import { imageBuilder } from '../../../lib/sanity' import Link from '../../Link' @@ -11,7 +11,7 @@ export default function ActorInsert(props) { const { _id, label, image, shortDescription, memberOf } = props return ( - <Box maxWidth={['xl', null, 'xl', null]} mb="5"> + <Container maxW={['xl', null, '2xl', null]} mb="5"> <Flex> {image && ( <Image @@ -42,6 +42,6 @@ export default function ActorInsert(props) { {shortDescription && <Text fontSize="lg">{shortDescription}</Text>} </Box> </Flex> - </Box> + </Container> ) } -- GitLab