Twenty Twenty: Fixes image block caption alignment not being centered on mobile.

The image block caption was not being centered on mobile. This was set to start at 1000 pixels and wider. This might have been intended to prevent wrapping, but you can resolve this by unselecting alignment.

Props spanglishwebs, sabernhardt, sudipatel007, shailu25.
Fixes #50317.

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


git-svn-id: http://core.svn.wordpress.org/trunk@58305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-08-18 09:15:14 +00:00
parent 4267b760ef
commit 14b463ac91
3 changed files with 9 additions and 9 deletions

View File

@ -1255,6 +1255,10 @@ button.toggle {
margin-left: auto;
}
.aligncenter figcaption {
text-align: center;
}
/* Search Form ------------------------------- */
.search-form {
@ -5951,10 +5955,6 @@ a.to-the-top > * {
margin-left: 0;
}
.wp-block-image .aligncenter figcaption {
text-align: center;
}
/* BLOCK: SEPARATOR */
hr.wp-block-separator {

View File

@ -1261,6 +1261,10 @@ button.toggle {
margin-right: auto;
}
.aligncenter figcaption {
text-align: center;
}
/* Search Form ------------------------------- */
.search-form {
@ -6023,10 +6027,6 @@ a.to-the-top > * {
margin-left: 0;
}
.wp-block-image .aligncenter figcaption {
text-align: center;
}
/* BLOCK: SEPARATOR */
hr.wp-block-separator {

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.7-alpha-58908';
$wp_version = '6.7-alpha-58909';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.