-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flexbox mixins & helper classes for direction, container, … #9324
Conversation
I'm still getting to grips with flexbox, but this looks brilliant from my first look over everything 👍 |
- `.flex-direct-row` (default) | ||
- `.flex-direct-row-reverse` | ||
- `.flex-direct-column` | ||
- `.flex-direct-column-reverse` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we call it flex-dir-row? Dir is more shorthand direct and dont want to type out direction 😜
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure thing
|
||
.flex-child-grow { | ||
flex: 1 0 auto; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might need a media query for these. Like .small-flex-child-auto
& .medium-flex-child-grow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added
First pass on some mixins and helper classes for managing flex alignment etc. Addresses #9208