From afd60dd8a467eb8620b2ce32277b9ce8b6248c15 Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Tue, 23 Jul 2024 21:52:15 +0000 Subject: [PATCH] Twenty Twenty: Fixes Quote block border not reflecting alignment. This resolves the border not also aligning with the quote block. When this theme was built the editor used style attributes for text alignment. This patch updates existing rules for center and right aligned quote blocks. Props viralsampat, poena, sabernhardt. Fixes #61132. Built from https://develop.svn.wordpress.org/trunk@58796 git-svn-id: http://core.svn.wordpress.org/trunk@58192 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwenty/style-rtl.css | 2 ++ wp-content/themes/twentytwenty/style.css | 2 ++ wp-includes/version.php | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentytwenty/style-rtl.css b/wp-content/themes/twentytwenty/style-rtl.css index 4f4c86e76d..2fc1a9bfbc 100644 --- a/wp-content/themes/twentytwenty/style-rtl.css +++ b/wp-content/themes/twentytwenty/style-rtl.css @@ -3393,11 +3393,13 @@ figure.wp-block-table.is-style-stripes { color: inherit; } +.wp-block-quote.has-text-align-center, .wp-block-quote[style="text-align:center"] { border-width: 0; padding: 0; } +.wp-block-quote.has-text-align-right, .wp-block-quote[style="text-align:right"] { border-width: 0 0.2rem 0 0; padding: 0 2rem 0 0; diff --git a/wp-content/themes/twentytwenty/style.css b/wp-content/themes/twentytwenty/style.css index babe5a090a..1a802509a4 100644 --- a/wp-content/themes/twentytwenty/style.css +++ b/wp-content/themes/twentytwenty/style.css @@ -3413,11 +3413,13 @@ figure.wp-block-table.is-style-stripes { color: inherit; } +.wp-block-quote.has-text-align-center, .wp-block-quote[style="text-align:center"] { border-width: 0; padding: 0; } +.wp-block-quote.has-text-align-right, .wp-block-quote[style="text-align:right"] { /*rtl:begin:ignore*/ diff --git a/wp-includes/version.php b/wp-includes/version.php index 54f2628ae5..9ed346a1c1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-alpha-58789'; +$wp_version = '6.7-alpha-58796'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.