Bundled Themes: Twenty Twenty image caption is not aligned center when image is, on the front-end.

Fixes the image caption alignment issue by adding `text-align: center;` to `.wp-block-image .aligncenter figcaption`.

Props markusthiel, SergeyBiryukov, garethgillman.
Fixes #49320.
Built from https://develop.svn.wordpress.org/trunk@47689


git-svn-id: http://core.svn.wordpress.org/trunk@47466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ianbelanger 2020-04-29 18:19:05 +00:00
parent 800b71ca31
commit b1a318f3bd
3 changed files with 9 additions and 1 deletions

View File

@ -5847,6 +5847,10 @@ a.to-the-top > * {
.wp-block-image .alignright { .wp-block-image .alignright {
margin-left: 0; margin-left: 0;
} }
.wp-block-image .aligncenter figcaption {
text-align: center;
}
/* BLOCK: SEPARATOR */ /* BLOCK: SEPARATOR */

View File

@ -5917,6 +5917,10 @@ a.to-the-top > * {
/*rtl:ignore*/ /*rtl:ignore*/
margin-left: 0; margin-left: 0;
} }
.wp-block-image .aligncenter figcaption {
text-align: center;
}
/* BLOCK: SEPARATOR */ /* BLOCK: SEPARATOR */

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.5-alpha-47664'; $wp_version = '5.5-alpha-47689';
/** /**
* 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.