Skip to content

Commit a4a0ccc

Browse files
committed
Fix media query merging with all
1 parent 6f71ef8 commit a4a0ccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ast_css.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ namespace Sass {
288288

289289
CssMediaQueryObj query = SASS_MEMORY_NEW(CssMediaQuery, pstate());
290290
query->modifier(modifier == ourModifier ? this->modifier() : other->modifier());
291-
query->type(ourType.empty() ? other->type() : this->type());
291+
query->type(type == ourType ? this->type() : other->type());
292292
query->features(features);
293293
return query;
294294
}

0 commit comments

Comments
 (0)