Twenty Nineteen: Adds center alignment to Archives and Categories List blocks.

When selecting center alignment for Archives or Categories List blocks the alignment was not matching. It is worth noting this fixes for these blocks but another ticket could be made to fix for titles.

Props pranitdugad, sabernhardt.
Fixes #47044.

Built from https://develop.svn.wordpress.org/trunk@58627


git-svn-id: http://core.svn.wordpress.org/trunk@58057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-07-02 20:01:16 +00:00
parent 144cc650b9
commit 8d260fe6ed
3 changed files with 11 additions and 1 deletions

View File

@ -1366,6 +1366,11 @@ ul.wp-block-archives li ul,
margin-bottom: -0.75rem; margin-bottom: -0.75rem;
} }
.wp-block[data-align="center"] > .wp-block-archives,
.wp-block[data-align="center"] > .wp-block-categories {
text-align: center;
}
/** === Latest Posts === */ /** === Latest Posts === */
.wp-block-latest-posts .wp-block-latest-posts__post-date { .wp-block-latest-posts .wp-block-latest-posts__post-date {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;

View File

@ -756,6 +756,11 @@ ul.wp-block-archives,
} }
.wp-block[data-align="center"] > .wp-block-archives,
.wp-block[data-align="center"] > .wp-block-categories {
text-align: center;
}
/** === Latest Posts === */ /** === Latest Posts === */
.wp-block-latest-posts { .wp-block-latest-posts {

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.7-alpha-58623'; $wp_version = '6.7-alpha-58627';
/** /**
* 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.