-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
What version of Tailwind CSS are you using?
For example: v4.0.15
What build tool (or framework if it abstracts the build tool) are you using?
Nuxt 3 (v4 compatibility) + tailwind-variants 1.0.0
What version of Node.js are you using?
For example: v23.10.0
What browser are you using?
Arc, chrome, firefox
What operating system are you using?
macOS
Reproduction URL
https://play.tailwindcss.com/EeSzBFDDbH
Describe your issue
I do not know if this is a future or a bug, but I certainly did not expect such behavior looking at the documentation where it is indicated that in the case of passing a number, this number will be substituted as a multiplier...
Unfortunately, this works only for integers and halves - no other number is properly handled. The problem affects not only the left class but in general all classes generated in this way