-
-
Notifications
You must be signed in to change notification settings - Fork 15
unitless zero value bug #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you try this simple workaround? |
this method works, but in this case we will have unexpectable behaviour when use different units ('px' for width and '%' for margin) |
If you have a nice solution, PR is welcome ;) |
ok :) thanks. I will do |
'csswring' plugin remove units for zero values :( 'reduce-css-calc' works perfectly and passes all tests... sorry for disturbing |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi :)
I'm using postcss and have following expression:
and I found strange behavior when try to use zero values:
but these are valid expressions:
so my question is: Could you fix this? Or this is a normal behavior?
thank you :)
The text was updated successfully, but these errors were encountered: