Skip to content

Commit

Permalink
fix(CSS): scoping is not applied (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
fulopdaniel authored Oct 7, 2024
1 parent 05095e5 commit c240702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postcss/scope.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = (opts = {}) => {
originalSelector
.split(/(?<!\\),\s*/g)
.map((individualSelector) =>
!individualSelector.startsWith("tw")
!individualSelector.includes("tw-")
? individualSelector
: `${opts.scope} ${individualSelector}${getModalExtensions(individualSelector)}`,
)
Expand Down

0 comments on commit c240702

Please sign in to comment.