Closed jship closed 3 weeks ago
Given this CSS:
html { font-size: clamp(2.25rem, 2vw + 1.5rem, 3.25rem); }
compressCssCompiler will strip the spaces around +, which makes the property value invalid.
compressCssCompiler
+
html{font-size:clamp(2.25rem,2vw+1.5rem,3.25rem)}
Perhaps compressCalcExpression could be applied over clamp values to get the same space-preserving behavior as calc values?
compressCalcExpression
clamp
calc
Thank you for your report! This issue has been fixed in the exact way you suggested
Given this CSS:
compressCssCompiler
will strip the spaces around+
, which makes the property value invalid.Perhaps
compressCalcExpression
could be applied overclamp
values to get the same space-preserving behavior ascalc
values?