Generate group parent classes correctly with custom separator (#4508)

This commit is contained in:
Adam Wathan 2021-05-30 15:02:55 -04:00 committed by GitHub
parent 15642fbcc8
commit 7264a5b71b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View File

@ -171,10 +171,7 @@ export default {
return null
}
let groupSelector = prefixSelector(
config('prefix'),
`.group${config('separator')}${state}`
)
let groupSelector = prefixSelector(config('prefix'), `.group:${state}`)
return `${groupSelector} ${variantSelector}`
})

View File

@ -1,4 +1,4 @@
.group_hover .group-hover_focus-within_text-left:focus-within {
.group:hover .group-hover_focus-within_text-left:focus-within {
text-align: left;
}
[dir='rtl'] .rtl_active_text-center:active {