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 15787d5 commit bfda0b1Copy full SHA for bfda0b1
src/generator/css.js
@@ -815,8 +815,9 @@ class Rules {
815
} else {
816
let composed_selector = token.name + ' ' + token.segments.map(n => {
817
if (n.keyword) return n.keyword;
818
- if (Array.isArray(n.arguments)) {
819
- return '(' + n.arguments[0][0].value + ')'
+ let args = n.arguments;
+ if (Array.isArray(args) && Array.isArray(args[0]) && args[0].length) {
820
+ return '(' + args[0][0].value + ')'
821
}
822
return '';
823
}).join(' ');
0 commit comments