You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 15, 2022. It is now read-only.
As per css best practice, it's recommended that you use flex shorthand property and avoid flex-shrink, flex-grow, flex-basis because flex will override all of them.
I hope that this ppx can automatically expand the flex property without compromising css's "best pratice" or use just unsafe if that's too much troubles.
What do you think?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently, bs-css only supports the simplest format of flex property:
flex: 1
but there are more complex cases like:(from https://css-tricks.com/almanac/properties/f/flex/)
As per css best practice, it's recommended that you use flex shorthand property and avoid flex-shrink, flex-grow, flex-basis because
flex
will override all of them.I hope that this ppx can automatically expand the flex property without compromising css's "best pratice" or use just
unsafe
if that's too much troubles.What do you think?
The text was updated successfully, but these errors were encountered: