Make WordPress Core

Changeset 47820


Ignore:
Timestamp:
05/18/2020 07:50:22 PM (4 years ago)
Author:
ianbelanger
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.

Props kthmd, utz119, nikhilbhansi.
Fixes #49435.

File:
1 edited

Legend:

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

    r47800 r47820  
    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    }
    5920  
     5930
    59215931    .wp-block-image .aligncenter figcaption {
    59225932        text-align: center;
Note: See TracChangeset for help on using the changeset viewer.