We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eb1802 commit 6712e6dCopy full SHA for 6712e6d
index.js
@@ -50,6 +50,9 @@ function ruleIsInCssSupportsRule(rule) {
50
function checkIsCssSupportsRule(node) {
51
if(node.type == 'atrule' && node.name === 'supports' && [].concat(node.params)[0].indexOf('--') > -1) {
52
return true;
53
+ } else if(node.parent) {
54
+ // this checks for multiple nesting -> e.g, @include breakpoint inside @support
55
+ return checkIsCssSupportsRule(node.parent);
56
}
57
return false;
58
};
0 commit comments