Skip to content

Commit

Permalink
fixed double-space
Browse files Browse the repository at this point in the history
  • Loading branch information
NDMarcel committed Feb 15, 2012
1 parent 9fb9b55 commit 378ddef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/less/tree/directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tree.Directive = function (name, value, features) {
this.features = features && new(tree.Value)(features);

if (Array.isArray(value)) {
selectors = name === '@media' ? [new(tree.Selector)([new(tree.Element)("", null, 0)])] : [];
selectors = name === '@media' ? [new(tree.Selector)([new(tree.Element)('&', null, 0)])] : [];
this.ruleset = new(tree.Ruleset)(selectors, value);
this.ruleset.allowImports = true;
} else {
Expand Down
2 changes: 1 addition & 1 deletion test/css/media.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
body {
padding: 20px;
}
body header {
body header {
background-color: red;
}
}

0 comments on commit 378ddef

Please sign in to comment.