Skip to content

Commit

Permalink
Bundled Themes: Add missing RTL styles for to fix inconsistent margin…
Browse files Browse the repository at this point in the history
…s on `.alignwide` and `.alignfull` items.

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, and sabernhardt.
Fixes #49435.


git-svn-id: https://develop.svn.wordpress.org/trunk@47846 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
whyisjake committed May 23, 2020
1 parent 1ce6af5 commit a5baf8b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/wp-content/themes/twentytwenty/style-rtl.css
Expand Up @@ -3508,6 +3508,11 @@ figure.wp-block-table.is-style-stripes {
margin: 4rem auto;
}

.post-inner .entry-content > .wp-block-cover.alignwide:first-child,
.post-inner .entry-content > .wp-block-cover.alignfull:first-child {
margin-top: 0;
}

/* Font Families ----------------------------- */

.entry-content {
Expand Down Expand Up @@ -5346,6 +5351,11 @@ a.to-the-top > * {
margin-right: 4rem;
}

.entry-content > .alignwide:first-child,
.entry-content > .alignfull:first-child {
margin-bottom: 8rem;
}

/* ENTRY MEDIA */

.alignfull > figcaption,
Expand Down

0 comments on commit a5baf8b

Please sign in to comment.