Closed olivierpascal closed 2 months ago
Values of vars should not be transformed by the compiler, so let's check it's not just the 0px
-> 0
transform that's being applied. Previously, there was a bug internally where variable values that were unitless were being transformed to add the px
unit.
A PR has recently been merged that fixes this issue for fr
and %
units. I'll make the change to ensure that the unit isn't dropped for any 0
values.
Describe the issue
'0px' vars are compiled to '0' which leads to error at best, unpredicatable results at worst
Expected behavior
'0px' vars to be compiled to '0px'
Steps to reproduce
Test case
No response
Additional comments
No response