Skip to content

Commit

Permalink
feat: Use flexbox and regular space in Column as we do in Row (#1388)
Browse files Browse the repository at this point in the history
Co-authored-by: Aram <[email protected]>
  • Loading branch information
VincentSmedinga and alimpens authored Jul 17, 2024
1 parent 582685c commit 86d693c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion packages/css/src/components/column/column.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
@import "../../common/size";

.ams-column {
display: grid;
display: flex;
flex-direction: column;
}

@each $size, $label in $ams-sizes {
Expand Down
10 changes: 5 additions & 5 deletions proprietary/tokens/src/components/ams/column.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"ams": {
"column": {
"gap": {
"xs": { "value": "{ams.space.grid.xs}" },
"sm": { "value": "{ams.space.grid.sm}" },
"md": { "value": "{ams.space.grid.md}" },
"lg": { "value": "{ams.space.grid.lg}" },
"xl": { "value": "{ams.space.grid.xl}" }
"xs": { "value": "{ams.space.xs}" },
"sm": { "value": "{ams.space.sm}" },
"md": { "value": "{ams.space.md}" },
"lg": { "value": "{ams.space.lg}" },
"xl": { "value": "{ams.space.xl}" }
}
}
}
Expand Down

0 comments on commit 86d693c

Please sign in to comment.