WordPress.org

Make WordPress Core

Changeset 47823


Ignore:
Timestamp:
05/19/2020 10:13:09 PM (4 months ago)
Author:
whyisjake
Message:

Bundled Themes: Twenty Twenty inconsistent top and bottom margins for .alignwide and .alignfull on Chrome vs Safari.

Fixes the inconsistent margins for alignwide and alignfull classes used on Cover Block when it is the first block on a page.

Brings the changes from [47820] to the 5.4 branch.

Props kthmd, utz119, nikhilbhansi.
Fixes #49435.

Location:
branches/5.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.4

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

    r47805 r47823  
    35313531}
    35323532
     3533.post-inner .entry-content > .wp-block-cover.alignwide:first-child,
     3534.post-inner .entry-content > .wp-block-cover.alignfull:first-child {
     3535    margin-top: 0;
     3536}
     3537
    35333538/* Font Families ----------------------------- */
    35343539
     
    54095414    }
    54105415
     5416    .entry-content > .alignwide:first-child,
     5417    .entry-content > .alignfull:first-child {
     5418        margin-bottom: 8rem;
     5419    }
     5420
    54115421    /* ENTRY MEDIA */
    54125422
     
    59185928        margin-left: 0;
    59195929    }
     5930 
     5931    .wp-block-image .aligncenter figcaption {
     5932        text-align: center;
     5933    }
    59205934
    59215935    /* BLOCK: SEPARATOR */
Note: See TracChangeset for help on using the changeset viewer.