From 44f9c35d7419e57bb44bb2bc9f45b793d2c74f74 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Wed, 28 Jun 2023 07:58:12 +0000 Subject: [PATCH] Twenty Sixteen: Twenty Ten: Reflect Quote block text color on the entire block. This changeset fixes an issue where the selected text color for the Quote block was not reflected on all the elements of the block. Props nidhidhandhukiya, sabernhardt, audrasjb, shailu25, anilvaza. Fixes #57204. git-svn-id: https://develop.svn.wordpress.org/trunk@56087 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentysixteen/css/blocks.css | 4 ++++ src/wp-content/themes/twentysixteen/css/editor-blocks.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/wp-content/themes/twentysixteen/css/blocks.css b/src/wp-content/themes/twentysixteen/css/blocks.css index bf0d9554d9..47a13e04d9 100644 --- a/src/wp-content/themes/twentysixteen/css/blocks.css +++ b/src/wp-content/themes/twentysixteen/css/blocks.css @@ -94,6 +94,10 @@ p.has-drop-cap:not(:focus)::first-letter { line-height: 1.75; } +.wp-block-quote.has-text-color cite { + color: inherit; +} + .wp-block-quote cite:before { content: "\2014\00a0"; } diff --git a/src/wp-content/themes/twentysixteen/css/editor-blocks.css b/src/wp-content/themes/twentysixteen/css/editor-blocks.css index 5e4c15b0fe..0eef6016c3 100644 --- a/src/wp-content/themes/twentysixteen/css/editor-blocks.css +++ b/src/wp-content/themes/twentysixteen/css/editor-blocks.css @@ -325,6 +325,10 @@ Description: Used to style blocks in the editor. line-height: 1.75; } +.wp-block-quote.has-text-color .wp-block-quote__citation { + color: inherit; +} + .wp-block-quote__citation:before { content: "\2014\00a0"; }