mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-12 13:44:21 +01:00
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. This brings the changes from [47689] to the 5.4 branch. Props markusthiel, SergeyBiryukov, garethgillman. Fixes #49320. Built from https://develop.svn.wordpress.org/branches/5.4@47826 git-svn-id: http://core.svn.wordpress.org/branches/5.4@47602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
adfeeb5ee0
commit
769fad3c57
@ -5848,6 +5848,10 @@ a.to-the-top > * {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.wp-block-image .aligncenter figcaption {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* BLOCK: SEPARATOR */
|
||||
|
||||
hr.wp-block-separator {
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.4.2-alpha-47825';
|
||||
$wp_version = '5.4.2-alpha-47826';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user