Skip to content

Commit

Permalink
Editor styles: if scope is needed, don't increase specificity
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Nov 29, 2023
1 parent c09075f commit caa0c53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default function EditorStyles( { styles, scope } ) {
return [
transformStyles(
_styles.filter( ( style ) => style?.css ),
scope
scope ? `:where(${ scope })` : undefined
),
_styles
.filter( ( style ) => style.__unstableType === 'svgs' )
Expand Down

0 comments on commit caa0c53

Please sign in to comment.