@unocss/core 0.55.3 → 0.55.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -821,7 +821,7 @@ class UnoGenerator {
|
|
|
821
821
|
if (!parent)
|
|
822
822
|
return rules;
|
|
823
823
|
const parents = parent.split(" $$ ");
|
|
824
|
-
return `${parents.join("{")}{${nl}${rules}${nl}
|
|
824
|
+
return `${parents.join("{")}{${nl}${rules}${nl}${"}".repeat(parents.length)}`;
|
|
825
825
|
}).filter(Boolean).join(nl);
|
|
826
826
|
if (preflights) {
|
|
827
827
|
css = [preflightsMap[layer], css].filter(Boolean).join(nl);
|
package/dist/index.mjs
CHANGED
|
@@ -819,7 +819,7 @@ class UnoGenerator {
|
|
|
819
819
|
if (!parent)
|
|
820
820
|
return rules;
|
|
821
821
|
const parents = parent.split(" $$ ");
|
|
822
|
-
return `${parents.join("{")}{${nl}${rules}${nl}
|
|
822
|
+
return `${parents.join("{")}{${nl}${rules}${nl}${"}".repeat(parents.length)}`;
|
|
823
823
|
}).filter(Boolean).join(nl);
|
|
824
824
|
if (preflights) {
|
|
825
825
|
css = [preflightsMap[layer], css].filter(Boolean).join(nl);
|