Replies: 1 comment
-
Yeah this is just something we don’t do because we haven’t done it, haha. Agree would be nice to add! Open to a PR if interested in giving it a shot 👍🏻 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I sometimes forget to put spaces around operators in
calc()
, so I like the fact that Tailwind automatically inserts them for me. However, I've noticed that it does not do the same inside other functions likemax()
- is this intentional?For example, these all work:
but this doesn't:
The cause of this seems to be this code, which is specific to
calc
, but perhaps should work for allcssFunctions
:tailwindcss/src/util/dataTypes.js
Line 4 in 9221914
tailwindcss/src/util/dataTypes.js
Lines 43 to 50 in 9221914
Beta Was this translation helpful? Give feedback.
All reactions