Fix media query serialization.

This commit is contained in:
Natalie Weizenbaum 2016-10-18 20:44:29 -07:00
parent 3a795c6fe6
commit 29574d345a

View File

@ -132,11 +132,7 @@ class _SerializeCssVisitor
void visitMediaRule(CssMediaRule node) {
_writeIndentation();
_buffer.write("@media ");
for (var query in node.queries) {
visitMediaQuery(query);
}
_writeBetween(node.queries, ", ", visitMediaQuery);
_buffer.writeCharCode($space);
_visitChildren(node.children);
}