mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-04 03:51:38 +00:00
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
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user