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.


git-svn-id: https://develop.svn.wordpress.org/trunk@54381 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2022-10-04 08:20:02 +00:00
parent 2b2f1fd885
commit c819764c81
2 changed files with 14 additions and 0 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";
}