Skip to content
Snippets Groups Projects
Commit 2936274f authored by Tarje Lavik's avatar Tarje Lavik
Browse files

Fix container width

parent 588a4d89
No related branches found
No related tags found
No related merge requests found
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>
)
}
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