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 ffd19c7 commit 6a58ec7Copy full SHA for 6a58ec7
packages/less/src/less/tree/nested-at-rule.js
@@ -5,12 +5,6 @@ import Anonymous from './anonymous';
5
import Expression from './expression';
6
import * as utils from '../utils';
7
8
-const NESTABLE_UNMERGED_KEYWORD_SET = new Set([
9
- 'and',
10
- 'not',
11
- 'or'
12
-]);
13
-
14
const NestableAtRulePrototype = {
15
16
isRulesetLike() {
@@ -37,10 +31,6 @@ const NestableAtRulePrototype = {
37
31
for (let index = 0; index < exprValues.length; ++index) {
38
32
expr = exprValues[index];
39
33
40
- if (NESTABLE_UNMERGED_KEYWORD_SET.has(expr.value)) {
41
- continue;
42
- }
43
44
34
if (expr.type === 'Keyword' && index + 1 < exprValues.length) {
45
35
paren = exprValues[index + 1];
46
36
0 commit comments