Skip to content

Commit

Permalink
feat(core): add reverse flex direction classes (#530)
Browse files Browse the repository at this point in the history
Co-authored-by: DDoe <[email protected]>
  • Loading branch information
ddoe8 and DDoe authored Jun 24, 2024
1 parent 54b5d6f commit 76d76cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/src/styles/utils/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@
@include -layout-property('flex-row', 'flex-direction', 'row') {
display: flex;
}
@include -layout-property('flex-row-rev', 'flex-direction', 'row-reverse') {
display: flex;
}
@include -layout-property('flex-col', 'flex-direction', 'column') {
display: flex;
}
@include -layout-property('flex-col-rev', 'flex-direction', 'column-reverse') {
display: flex;
}

// -- Flex

Expand Down

0 comments on commit 76d76cc

Please sign in to comment.