From 14b463ac911e91d4796c0a3f19e9811e8e08028c Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Sun, 18 Aug 2024 09:15:14 +0000 Subject: [PATCH] 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 --- wp-content/themes/twentytwenty/style-rtl.css | 8 ++++---- wp-content/themes/twentytwenty/style.css | 8 ++++---- wp-includes/version.php | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/wp-content/themes/twentytwenty/style-rtl.css b/wp-content/themes/twentytwenty/style-rtl.css index a9a001507d..ff1ee06e72 100644 --- a/wp-content/themes/twentytwenty/style-rtl.css +++ b/wp-content/themes/twentytwenty/style-rtl.css @@ -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 { diff --git a/wp-content/themes/twentytwenty/style.css b/wp-content/themes/twentytwenty/style.css index d3d8b5a7df..d2ed0ac34a 100644 --- a/wp-content/themes/twentytwenty/style.css +++ b/wp-content/themes/twentytwenty/style.css @@ -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 { diff --git a/wp-includes/version.php b/wp-includes/version.php index c1c0ce6be7..0cbb588041 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.