Closed dorianmariecom closed 2 years ago
actually found the fix, it's because it was deleting properties then returning early
I guess it should combine the properties still but I don't know enough css to know why the
return nil if declaration.value.gsub(/,\s/, ',').strip =~ /\s/
is in place
looks good! :) can you fix up what rubocop is complaining ?
thanks, I refactored a bit so that rubocop doesn't think there are two times the same loop
1.11.0
cool!
When having
border-width: 1px
andborder-color: black
but noborder-style
it would combine to an invalid, see https://codepen.io/dorianmariefr/pen/qBPqLZM for instanceNow it doesn't combine the properties if the three (width/color/style) are not present
Context
I encountered this when doing
@apply border border-black
in tailwindcss and having it compiled by premailer for my emails, the border would not appearPre-Merge Checklist