Twenty Fifteen: Fixes quote text color not changing with block setting.

The quote block citation text color wasn't changing through block settings. This resolves by using inherit.

Props viralsampat, poena, sabernhardt, shailu25, krupajnanda, hmbashar, rajinsharwar.
Fixes #59802.

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


git-svn-id: http://core.svn.wordpress.org/trunk@57817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-06-09 09:42:09 +00:00
parent 05613ca164
commit b686f90dbb
3 changed files with 16 additions and 1 deletions

View File

@ -123,6 +123,11 @@ p.has-drop-cap:not(:focus)::first-letter {
text-transform: none;
}
.wp-block-quote[class*="-text-color"] cite,
.wp-block-quote[style*="color"] cite {
color: inherit;
}
.wp-block-quote em,
.wp-block-quote i {
font-style: normal;
@ -335,6 +340,11 @@ p.has-drop-cap:not(:focus)::first-letter {
text-transform: none;
}
.wp-block-pullquote[class*="-text-color"] blockquote cite,
.wp-block-pullquote[style*="color"] blockquote cite {
color: inherit;
}
@media screen and (min-width: 46.25em) {
.wp-block-pullquote cite {
font-size: 17px;

View File

@ -685,6 +685,11 @@ p.has-drop-cap:not(:focus)::first-letter {
text-transform: none;
}
.wp-block-pullquote[class*="-text-color"] blockquote cite,
.wp-block-pullquote[style*="color"] blockquote cite {
color: inherit;
}
@media screen and (min-width: 46.25em) {
.wp-block-pullquote .wp-block-pullquote__citation {
font-size: 17px;

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.6-beta1-58367';
$wp_version = '6.6-beta1-58368';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.