Skip to content

Commit

Permalink
FlexContainer gap fix (#471)
Browse files Browse the repository at this point in the history
* new flex container

* fix

* bump version
  • Loading branch information
andrev321 authored Jul 1, 2022
1 parent 4e6e247 commit 482f7a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nordcloud/gnui",
"description": "Nordcloud Design System - a collection of reusable React components used in Nordcloud's SaaS products",
"version": "5.9.0",
"version": "5.9.1",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
10 changes: 5 additions & 5 deletions src/components/container/Container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,12 @@ function getFlexCss(props: FlexContainerProps) {
align-items: ${props.alignItems ?? "center"};
align-content: ${props.alignContent ?? "center"};
justify-content: ${props.justifyContent ?? "flex-start"};
flex-wrap: ${props.wrap ?? "no-wrap"};
flex-wrap: ${props.wrap ?? "nowrap"};
flex-direction: ${props.direction ?? "row"};
flex-grow: ${props.grow ?? 0};
gap: ${props.gap ?? 0};
column-gap: ${props.columnGap ?? 0};
row-gap: ${props.rowGap ?? 0};
flex-grow: ${props.grow};
gap: ${props.gap};
column-gap: ${props.columnGap};
row-gap: ${props.rowGap};
`;
}

Expand Down

0 comments on commit 482f7a0

Please sign in to comment.