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
which is perceived as invalid in both Chrome and Safari due to the missing space around the + operator and therefore not applied. Same happens for max() and the other math functions, but not for calc().
In Tailwind CSS v3.0.24 the CSS produced was correct:
What version of Tailwind CSS are you using?
v3.1.2 and v3.1.1
What build tool (or framework if it abstracts the build tool) are you using?
Tailwind Play
What version of Node.js are you using?
Not applicable
What browser are you using?
Chrome 102 and Safari 15.5
What operating system are you using?
macOS 12.4
Reproduction URL
https://play.tailwindcss.com/Y4DN00mQfb
Describe your issue
The class
w-[min(50vw+100px)]
produces following CSS in Tailwind CSS v3.1.1 and v3.1.2:which is perceived as invalid in both Chrome and Safari due to the missing space around the
+
operator and therefore not applied. Same happens formax()
and the other math functions, but not forcalc()
.In Tailwind CSS v3.0.24 the CSS produced was correct:
The text was updated successfully, but these errors were encountered: