From 8e781952c7a4a2354ecdb5163d470452b2f854d4 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Fri, 4 Feb 2022 15:14:20 +0000 Subject: [PATCH] Twenty Twenty-Two: Remove negative side margins on group blocks with a background. This change fixes an issue where applying a background color to a group block aligned it to the left in the editor. Props eddystile, audrasjb, webmandesign, sabernhardt, petaryoast. Fixes #54944. git-svn-id: https://develop.svn.wordpress.org/trunk@52679 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwentytwo/style.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wp-content/themes/twentytwentytwo/style.css b/src/wp-content/themes/twentytwentytwo/style.css index 7d5051062c..bc9558dc3a 100644 --- a/src/wp-content/themes/twentytwentytwo/style.css +++ b/src/wp-content/themes/twentytwentytwo/style.css @@ -99,7 +99,6 @@ a:active { body > .is-root-container, .edit-post-visual-editor__post-title-wrapper, .wp-block-group.alignfull, -.wp-block-group.has-background, .wp-block-cover.alignfull, .is-root-container .wp-block[data-align="full"] > .wp-block-group, .is-root-container .wp-block[data-align="full"] > .wp-block-cover { @@ -112,7 +111,6 @@ body > .is-root-container, .wp-site-blocks > .wp-block-cover, .wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background, .wp-site-blocks > .wp-block-template-part > .wp-block-cover, -body > .is-root-container > .wp-block-group.has-background, body > .is-root-container > .wp-block-cover, body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background, body > .is-root-container > .wp-block-template-part > .wp-block-cover,