From 3a1276177305f16aabc4236c594494583abcee92 Mon Sep 17 00:00:00 2001 From: Lewis Date: Thu, 5 May 2022 18:03:11 -0400 Subject: [PATCH] add layer to apply check --- src/compiler/compile/css/Stylesheet.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/compile/css/Stylesheet.ts b/src/compiler/compile/css/Stylesheet.ts index 0a3098db6d..1a9ea7feeb 100644 --- a/src/compiler/compile/css/Stylesheet.ts +++ b/src/compiler/compile/css/Stylesheet.ts @@ -170,7 +170,7 @@ class Atrule { } apply(node: Element) { - if (this.node.name === 'media' || this.node.name === 'supports') { + if (this.node.name === 'media' || this.node.name === 'supports' || this.node.name === 'layer') { this.children.forEach(child => { child.apply(node); });