Replies: 1 comment
-
Nope, not intended - parentheses should be balanced. Made a PR to fix this: tailwindlabs/tailwindcss.com#2231 |
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
-
Not sure if it is intended or not, but I found the official docs has the following class:
max-h-[calc(100dvh-(--spacing(6))]
, which has a missing closing parenthesis.By playing in Tailwind Play, I found
max-h-[calc(100dvh-(--spacing(6)))]
,max-h-[calc(100dvh-(--spacing(6))]
andmax-h-[calc(100dvh-(--spacing(6)]
work, butmax-h-[calc(100dvh-(--spacing(6]
does not work.Is it intended to behave like this?
Beta Was this translation helpful? Give feedback.
All reactions