From 9d0f32fc062257827e994cff0db180a63c59b5a5 Mon Sep 17 00:00:00 2001 From: tellthemachines Date: Fri, 31 May 2024 11:22:03 +1000 Subject: [PATCH] Remove extra bracket in the site editor root padding styles (#62159) Co-authored-by: tellthemachines Co-authored-by: andrewserong Co-authored-by: ramonjd Co-authored-by: aaronrobertshaw Co-authored-by: iamtakashi --- .../src/components/global-styles/use-global-styles-output.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/global-styles/use-global-styles-output.js b/packages/block-editor/src/components/global-styles/use-global-styles-output.js index 6ce2150b9d2031..28e1ddac9ab1d6 100644 --- a/packages/block-editor/src/components/global-styles/use-global-styles-output.js +++ b/packages/block-editor/src/components/global-styles/use-global-styles-output.js @@ -916,7 +916,7 @@ export const toStyles = ( .has-global-padding { padding-right: var(--wp--style--root--padding-right); padding-left: var(--wp--style--root--padding-left); } .has-global-padding > .alignfull { margin-right: calc(var(--wp--style--root--padding-right) * -1); margin-left: calc(var(--wp--style--root--padding-left) * -1); } .has-global-padding :where(.has-global-padding:not(.wp-block-block, .alignfull, .alignwide)) { padding-right: 0; padding-left: 0; } - .has-global-padding :where(.has-global-padding:not(.wp-block-block, .alignfull, .alignwide)) > .alignfull { margin-left: 0; margin-right: 0; } + .has-global-padding :where(.has-global-padding:not(.wp-block-block, .alignfull, .alignwide)) > .alignfull { margin-left: 0; margin-right: 0; `; }