Twenty Sixteen: Improve Pullquote Block text color consistency between editor and front-end.

This changeset ensures the text color selected for the text of the Pullquote Block is reflected on both front-end and on the editor.

Props nithins53, nidhidhandhukiya, audrasjb, sabernhardt, poena.
Fixes #56008.

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


git-svn-id: http://core.svn.wordpress.org/trunk@53940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-10-04 08:22:10 +00:00
parent ac8cba8791
commit 13b79b4a3b
3 changed files with 15 additions and 1 deletions

View File

@ -172,6 +172,13 @@ p.has-drop-cap:not(:focus)::first-letter {
padding: 0 24px 0 0;
}
.wp-block-pullquote.has-text-color blockquote,
.wp-block-pullquote.has-background blockquote,
.has-background .wp-block-pullquote blockquote,
.wp-block-pullquote.has-text-color cite {
color: inherit;
}
.wp-block-pullquote p {
font-size: 19px;
font-size: 1.1875rem;

View File

@ -511,6 +511,13 @@ Description: Used to style blocks in the editor.
text-transform: none;
}
.wp-block-pullquote.has-text-color blockquote,
.wp-block-pullquote.has-background blockquote,
.has-background .wp-block-pullquote blockquote,
.wp-block-pullquote.has-text-color cite {
color: inherit;
}
.wp-block-pullquote .wp-block-pullquote__citation:before {
content: "\2014\00a0";
}

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.1-beta2-54380';
$wp_version = '6.1-beta2-54381';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.