Make WordPress Core

Changeset 46715


Ignore:
Timestamp:
11/12/2019 02:04:14 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Bundled Themes: Update Twenty Twenty.

  • Add .has-background excluding condition to wide and full group-blocks.

This brings Twenty Twenty in sync with GitHub. For a full list of changes since [46714], see https://github.com/WordPress/twentytwenty/compare/162edc0...fa8c3fc.

Props allancole, karmatosed.
See #48110, #48386, #48450, #48505.
Fixes #48557.

Location:
trunk/src/wp-content/themes/twentytwenty
Files:
2 edited

Legend:

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

    r46713 r46715  
    51405140    }
    51415141
    5142     .entry-content > .alignwide:not(.wp-block-group),
    5143     .entry-content > .alignfull:not(.wp-block-group) {
     5142    .entry-content > .alignwide:not(.wp-block-group.has-background),
     5143    .entry-content > .alignfull:not(.wp-block-group.has-background) {
    51445144        margin-bottom: 6rem;
    51455145        margin-top: 6rem;
     
    57005700    }
    57015701
    5702     .entry-content > .alignwide:not(.wp-block-group),
    5703     .entry-content > .alignfull:not(.wp-block-group) {
     5702    .entry-content > .alignwide:not(.wp-block-group.has-background),
     5703    .entry-content > .alignfull:not(.wp-block-group.has-background) {
    57045704        margin-bottom: 8rem;
    57055705        margin-top: 8rem;
  • trunk/src/wp-content/themes/twentytwenty/style.css

    r46713 r46715  
    51785178    }
    51795179
    5180     .entry-content > .alignwide:not(.wp-block-group),
    5181     .entry-content > .alignfull:not(.wp-block-group) {
     5180    .entry-content > .alignwide:not(.wp-block-group.has-background),
     5181    .entry-content > .alignfull:not(.wp-block-group.has-background) {
    51825182        margin-bottom: 6rem;
    51835183        margin-top: 6rem;
     
    57385738    }
    57395739
    5740     .entry-content > .alignwide:not(.wp-block-group),
    5741     .entry-content > .alignfull:not(.wp-block-group) {
     5740    .entry-content > .alignwide:not(.wp-block-group.has-background),
     5741    .entry-content > .alignfull:not(.wp-block-group.has-background) {
    57425742        margin-bottom: 8rem;
    57435743        margin-top: 8rem;
Note: See TracChangeset for help on using the changeset viewer.