Skip to content

Commit 3d2e5e9

Browse files
committed
Does not remove units for zero values in inline mode. see #64
1 parent a06473b commit 3d2e5e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/inet/lib/less/CompressCssFormatter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ CssFormatter appendColor( double color, String hint ) {
110110
*/
111111
@Override
112112
CssFormatter appendValue( double value, String unit ) {
113-
if( value == 0 ) {
113+
if( value == 0 && !inlineMode() ) {
114114
switch( unit ) {
115115
case "deg":
116116
case "s":

0 commit comments

Comments
 (0)