Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 21bd0ef

Browse files
author
Aaron Leung
committed
Tweaking the emitter for media queries.
1 parent bc59b31 commit 21bd0ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node_emitters.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ namespace Sass {
417417
if (block.has_blocks()) {
418418
for (size_t i = 0, S = block.size(); i < S; ++i) {
419419
if (block[i].type() == ruleset || block[i].type() == media_query) {
420-
block[i].emit_nested_css(buf, depth, false, false, source_comments); // last arg should be in_media_query?
420+
block[i].emit_nested_css(buf, depth, false, in_media_query, source_comments);
421421
}
422422
}
423423
}

0 commit comments

Comments
 (0)