Skip to content

Commit

Permalink
fix: all children under Flex are flex children
Browse files Browse the repository at this point in the history
  • Loading branch information
vickonrails committed May 6, 2021
1 parent 05a2db3 commit ee98ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/flex/flex.tsx
Expand Up @@ -35,7 +35,7 @@ const StyledFlexCSS = ({
margin: calc(${gap}px / -2) calc(${gap}px / -2);
// margin on the flex child component
> .avocado-flex__item {
> * {
margin: calc(${gap}px / 2) calc(${gap}px / 2);
}
`
Expand Down

0 comments on commit ee98ac1

Please sign in to comment.