Skip to content

Commit

Permalink
Use const for root selector
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd committed Mar 19, 2024
1 parent 50a3a05 commit 8389580
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ export const toStyles = (
let ruleset = '';

if ( contentSize || wideSize ) {
ruleset += ':root {';
ruleset += `${ ROOT_CSS_PROPERTIES_SELECTOR } {`;
ruleset = contentSize
? ruleset + ` --wp--style--global--content-size: ${ contentSize };`
: ruleset;
Expand Down

0 comments on commit 8389580

Please sign in to comment.