Skip to content

Commit 3ef9987

Browse files
committed
fix
1 parent bece149 commit 3ef9987

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/src/compiler/phases/2-analyze/css

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/phases/2-analyze/css/Selector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ function block_might_apply_to_node(block, node) {
306306
while (i--) {
307307
const selector = block.selectors[i];
308308

309-
if (selector.type === 'Percentage') continue;
309+
if (selector.type === 'Percentage' || selector.type === 'Nth') continue;
310310

311311
const name = selector.name.replace(regex_backslash_and_following_character, '$1');
312312

0 commit comments

Comments
 (0)