[Feature Request/Discussion] Make Flex Direction utilities infer "display: flex". #12527
LassassinX
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I was wondering if it would be more convenient for Flex Direction utilities to infer
display: flex
to the element its being assigned to, so that we do not have to keep writing<div className="flex flex-col ....">...</div>
, as onlyflex-col
would be enough. This helps shorten things a bit, making tailwindCss even more convenient to use.In a large project it feels redundant to keep assigning
flex
and then itsflex-directional
property, asflex-direction
only does work on elements withdisplay: flex
, so why not just merge them together?I wouldn't mind submitting a pull request for this.
Thankyou!
Beta Was this translation helpful? Give feedback.
All reactions