From 4071eaabdd62f0991c98542d14522baaad293ef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20D=C4=9Bdi=C4=8D?= Date: Fri, 13 Dec 2024 17:57:03 +0100 Subject: [PATCH] fixup! feat(selector-parsing): added helper function to parse style selectors --- src/parser/style-context.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/parser/style-context.ts b/src/parser/style-context.ts index 28f82588..a4f0ca90 100644 --- a/src/parser/style-context.ts +++ b/src/parser/style-context.ts @@ -187,7 +187,6 @@ function fixSelectorNodeLocation(node: SelectorNode, rule: Rule) { if (node.source.end.line === 1) { node.source.end.column += ruleLoc.start.column; } - node.source.end.column += 1; node.source.end.line += ruleLoc.start.line - 1; } else { node.source.end = undefined;