fix element shifts block width

This commit is contained in:
Chika 2020-09-08 13:40:50 +03:00
parent 60852adad2
commit 9aaa6df275

View File

@ -55,8 +55,14 @@ const renderBlocks = ({ blocks }) => {
<Flex
flexDirection="column"
key={ib}
flex={['1 1 100%', '1 1 100%', '2 1 45%', '2 0 45%', '3 0 30%']}
// maxWidth={['100%', '100%', '45%', '45%', '30%']}
flex={[
'1 1 100%',
'1 1 100%',
'2 0 45%',
'2 0 45%',
'2 0 45%',
'3 0 30%',
]}
mx="10px"
my="5px"
>