Make WordPress Core

Changeset 52688

Timestamp:
02/07/2022 02:56:13 PM (2 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, kjellr.
Merges [52679] and [52686] to the 5.9 branch.
Fixes #54944, #55103.

File:
1 edited

Legend:

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

    r52667 r52688  
    113113.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
    114114.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
    115 body > .is-root-container > .wp-block-group.has-background,
    116115body > .is-root-container > .wp-block-cover,
    117116body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
Note: See TracChangeset for help on using the changeset viewer.