mirror of
https://github.com/less/less.js.git
synced 2026-01-24 06:38:05 -05:00
Minor fixes.
Fixed a bug that could appear with compression enabled, and minor tabbing issues in tests.
This commit is contained in:
committed by
Luke Page
parent
54c7d12ba3
commit
8abc60ef26
@@ -198,7 +198,7 @@ tree.Ruleset.prototype = {
|
||||
}
|
||||
css.push(rulesets);
|
||||
|
||||
return css.join('');
|
||||
return css.join('') + (env.compress ? '\n' : '');
|
||||
},
|
||||
|
||||
joinSelectors: function (paths, context, selectors) {
|
||||
|
||||
@@ -1,21 +1,21 @@
|
||||
.mixin_import1() {
|
||||
@media all {
|
||||
.tst {
|
||||
color: black;
|
||||
@media screen {
|
||||
color: red;
|
||||
.tst3 {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@media all {
|
||||
.tst {
|
||||
color: black;
|
||||
@media screen {
|
||||
color: red;
|
||||
.tst3 {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mixin_import2() {
|
||||
.tst2 {
|
||||
color: white;
|
||||
}
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
.tst3 {
|
||||
|
||||
Reference in New Issue
Block a user