rebassjs / grid

This package has moved and renamed
https://rebassjs.org/reflexbox
MIT License
2.04k stars 96 forks source link

Problem of layout #165

Closed viococo closed 5 years ago

viococo commented 5 years ago

Hello ! How can I do something like that ? expected

When I try this code, I have a bad result !

<Flex>
  <Box width={1} />
  <Box width={1/2} />
  <Box width={1/2} />
</Flex>

the bad result : result

Thanks

jxnblk commented 5 years ago

You'll need <Flex flexWrap='wrap' />