mirror of
git://develop.git.wordpress.org/
synced 2025-01-29 10:38:22 +01:00
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. git-svn-id: https://develop.svn.wordpress.org/branches/5.4@47823 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3e99fe9041
commit
c8e5b7ebd5
@ -3530,6 +3530,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 {
|
||||
@ -5408,6 +5413,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,
|
||||
@ -5917,6 +5927,10 @@ a.to-the-top > * {
|
||||
/*rtl:ignore*/
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.wp-block-image .aligncenter figcaption {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* BLOCK: SEPARATOR */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user