From 70fe8c8ceab0c79dbaf333fa27676ff69db690f0 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Fri, 4 Feb 2022 15:16:01 +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. Built from https://develop.svn.wordpress.org/trunk@52679 git-svn-id: http://core.svn.wordpress.org/trunk@52268 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwentytwo/style.css | 2 -- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-content/themes/twentytwentytwo/style.css b/wp-content/themes/twentytwentytwo/style.css index 7d5051062c..bc9558dc3a 100644 --- a/wp-content/themes/twentytwentytwo/style.css +++ b/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, diff --git a/wp-includes/version.php b/wp-includes/version.php index 73f7125524..290694b1a6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-alpha-52677'; +$wp_version = '6.0-alpha-52679'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.