tailwindlabs / tailwindcss

A utility-first CSS framework for rapid UI development.
https://tailwindcss.com/
MIT License
83.27k stars 4.22k forks source link

Make `flex` a static utility #15014

Closed RobinMalfait closed 6 days ago

RobinMalfait commented 6 days ago

This PR makes flex a static utility, which also means that it is located near the other static display utilities.

This is possible because we changed how parseCandidate returns an array of utilities instead of a single utility.

This makes the code more consistent and a bit easier to understand.

Bonus: turns out that flex was never suggested to intellisense, but now it is!