Skip to content

Commit

Permalink
don't reduce base rule specificity in global styles
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed Apr 18, 2024
1 parent ce64c21 commit 61ae3b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ export function getLayoutStyles( {
displayMode &&
validDisplayModes.includes( displayMode )
) {
ruleset += `:where(.${ className }) { display:${ displayMode }; }`;
ruleset += `${ selector } .${ className } { display:${ displayMode }; }`;
}

if ( baseStyles?.length ) {
Expand Down

0 comments on commit 61ae3b0

Please sign in to comment.