intellij-lessc-plugin icon indicating copy to clipboard operation
intellij-lessc-plugin copied to clipboard

Compression breaks CSS

Open bluemoehre opened this issue 10 years ago • 1 comments

I noticed when enabling "Compress CSS output" all calc-statements are broken. E.g.: width: ~'calc(100% + @{gridSpace})'; becomes width:calc(100%+20px); which - for some reason - is no more a valid value. At least Chrome and Firefox expect to keep whitespaces between operators and operands, so expected result must be: width:calc(100% + 20px);

bluemoehre avatar Feb 18 '15 13:02 bluemoehre

There was a bug in yuicompressor, which I fixed (https://github.com/yui/yuicompressor/commit/98341febb4eb3a7f047de4bab0e1902c43056234). Can someone upgrade this plugin to use the newer version?

bluemoehre avatar Apr 22 '15 15:04 bluemoehre