Make WordPress Core

Changeset 52679


Ignore:
Timestamp:
02/04/2022 03:14:20 PM (3 years ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentytwo/style.css

    r52658 r52679  
    100100.edit-post-visual-editor__post-title-wrapper,
    101101.wp-block-group.alignfull,
    102 .wp-block-group.has-background,
    103102.wp-block-cover.alignfull,
    104103.is-root-container .wp-block[data-align="full"] > .wp-block-group,
     
    113112.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
    114113.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
    115 body > .is-root-container > .wp-block-group.has-background,
    116114body > .is-root-container > .wp-block-cover,
    117115body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
Note: See TracChangeset for help on using the changeset viewer.