Replies: 3 comments
-
It does seem to be intentional: |
Beta Was this translation helpful? Give feedback.
0 replies
-
The explanation is clear and even seems logical, but I think it would be worth mentioning this in the documentation since it is not described there. This could help avoid unnecessary loss of time and prevent further threads like mine when someone else encounters a similar issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
makau side diyo re |
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
Uh oh!
There was an error while loading. Please reload this page.
-
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
Beta Was this translation helpful? Give feedback.
All reactions