Make WordPress Core

Changeset 46716


Ignore:
Timestamp:
11/12/2019 02:06:19 AM (7 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.

Reviewed by azaozz, SergeyBiryukov.
Props allancole, karmatosed.
See #48110, #48386, #48450, #48505.
Merges [46715] to the 5.3 branch.
Fixes #48557.

Location:
branches/5.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/5.3

  • branches/5.3/src/wp-content/themes/twentytwenty/style-rtl.css

    r46714 r46716  
    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;
  • branches/5.3/src/wp-content/themes/twentytwenty/style.css

    r46714 r46716  
    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.