-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure
.group
and .peer
are prefixed when using the prefix(…)
o…
…ption (#15174) This PR fixes an issue where the `.group` and `.peer` classes didn't get prefixed if you are using the `prefix(…)` option. Before this change, `tw:group-hover:flex`, generated: ```css .tw\\:group-hover\\:flex { &:is(:where(.group):hover *) { @media (hover: hover) { display: flex; } } } ``` But now it generates: ```css .tw\\:group-hover\\:flex { &:is(:where(.tw\\:group):hover *) { @media (hover: hover) { display: flex; } } } ``` Or as a diff, it might be more clear: ```diff .tw\\:group-hover\\:flex { - &:is(:where(.group):hover *) { + &:is(:where(.tw\\:group):hover *) { @media (hover: hover) { display: flex; } } } ``` Fixes: #15172
- Loading branch information
1 parent
bd43d63
commit 98359be
Showing
3 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters