Skip to content

Commit

Permalink
Merge pull request #43 from Daedalus11069/patch-comma-css-selectors
Browse files Browse the repository at this point in the history
Patch comma css selectors
  • Loading branch information
n1crack authored Feb 25, 2024
2 parents 78eba94 + 3ea82ae commit 051c75b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ module.exports = {

// Scope the selectors to specific components
preflightStyles.walkRules((rule) => {
rule.selector = ".vuefinder " + rule.selector;
rule.selector = rule.selectors
.map(selector => ".vuefinder " + selector)
.join(",");
});

addBase(preflightStyles.nodes)
Expand Down

0 comments on commit 051c75b

Please sign in to comment.