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
This commit is contained in:
Tammie Lister 2024-07-23 21:52:15 +00:00
parent 584d36e618
commit afd60dd8a4
3 changed files with 5 additions and 1 deletions

View File

@ -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;

View File

@ -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*/

View File

@ -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.