Twenty Twenty: Fix left margin in Latest Posts & Latest Comments blocks.
This fixes a bug where the `margin-left: auto` property was being overwritten to `margin-left: 0` causing an inconsistency in the alignment of these blocks. Follow-up to [56034], [56039], [56040]. Props sabernhardt. Fixes #58396. Built from https://develop.svn.wordpress.org/trunk@56155 git-svn-id: http://core.svn.wordpress.org/trunk@55667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5b91824af0
commit
1ae044c7b0
|
@ -458,6 +458,11 @@ Inter variable font. Usage:
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.editor-styles-wrapper ul.wp-block-latest-posts {
|
||||||
|
margin-right: auto;
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.editor-styles-wrapper ul.wp-block-categories__list ul {
|
.editor-styles-wrapper ul.wp-block-categories__list ul {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
@ -982,7 +987,7 @@ hr.wp-block-separator.is-style-dots::before {
|
||||||
|
|
||||||
.editor-styles-wrapper .wp-block-latest-comments {
|
.editor-styles-wrapper .wp-block-latest-comments {
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
margin-right: 0;
|
margin-right: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor-styles-wrapper .wp-block-latest-comments li.wp-block-latest-comments__comment {
|
.editor-styles-wrapper .wp-block-latest-comments li.wp-block-latest-comments__comment {
|
||||||
|
|
|
@ -462,6 +462,11 @@ Inter variable font. Usage:
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.editor-styles-wrapper ul.wp-block-latest-posts {
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.editor-styles-wrapper ul.wp-block-categories__list ul {
|
.editor-styles-wrapper ul.wp-block-categories__list ul {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
@ -986,7 +991,7 @@ hr.wp-block-separator.is-style-dots::before {
|
||||||
|
|
||||||
.editor-styles-wrapper .wp-block-latest-comments {
|
.editor-styles-wrapper .wp-block-latest-comments {
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
margin-left: 0;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editor-styles-wrapper .wp-block-latest-comments li.wp-block-latest-comments__comment {
|
.editor-styles-wrapper .wp-block-latest-comments li.wp-block-latest-comments__comment {
|
||||||
|
|
|
@ -2925,6 +2925,11 @@ h2.entry-title {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ol.wp-block-latest-comments {
|
||||||
|
margin-right: auto;
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.entry-content .wp-block-archives > li,
|
.entry-content .wp-block-archives > li,
|
||||||
.entry-content .wp-block-categories > li,
|
.entry-content .wp-block-categories > li,
|
||||||
.entry-content .wp-block-latest-posts > li,
|
.entry-content .wp-block-latest-posts > li,
|
||||||
|
|
|
@ -2945,6 +2945,11 @@ h2.entry-title {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ol.wp-block-latest-comments {
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.entry-content .wp-block-archives > li,
|
.entry-content .wp-block-archives > li,
|
||||||
.entry-content .wp-block-categories > li,
|
.entry-content .wp-block-categories > li,
|
||||||
.entry-content .wp-block-latest-posts > li,
|
.entry-content .wp-block-latest-posts > li,
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.3-beta3-56154';
|
$wp_version = '6.3-beta3-56155';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue