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.


git-svn-id: https://develop.svn.wordpress.org/trunk@58909 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Tammie Lister 2024-08-18 09:13:31 +00:00
parent 0412c7b5e4
commit fe3fa337cf
2 changed files with 8 additions and 8 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 {