You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's currently using border-[] for arbitrary values but that's for border-color, not for border-width.
In the case above, where border-bottom-width has an arbitrary value of 3px, it should convert to border-b-[3px]
There are many other edge cases on that, like border-width: 1px 2px; which would be border-y border-x-2. Amazing if everything can be converted nicely, but if not, then it should remain unconverted.
The text was updated successfully, but these errors were encountered:
…der shorthand
Now arbitrary values for border shorthand works correctly. Previously, everything was using
border-[] prefix, but that is only correct for border-color arbitrary values.
fixJackardios#25
…when 4 values are declared"
Now if X and Y values are the same, even if border-width had 4 values declared, it uses X and Y
instead of using 4 different classes (2 vs 4)
fixJackardios#25
Current Behavior
Converts to:
Expected Behavior
It should convert to:
Things get more complicated if you do
then it should be
It's currently using
border-[]
for arbitrary values but that's forborder-color
, not forborder-width
.In the case above, where border-bottom-width has an arbitrary value of
3px
, it should convert toborder-b-[3px]
There are many other edge cases on that, like
border-width: 1px 2px;
which would beborder-y border-x-2
. Amazing if everything can be converted nicely, but if not, then it should remain unconverted.The text was updated successfully, but these errors were encountered: