From 8ea2151eec596a839e2f99e5f9c6c5a537545037 Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Sat, 17 Aug 2024 20:06:10 +0000 Subject: [PATCH] Twenty Sixteen: Fixes pullquote block typography not working. The pullquote block was not reflecting the typography changes. This updated patch keeps the size and also fixes the line height. Props pranitdugad, nidhidhandhukiya, jorbin, darshitrayaguru97, yurajsinj2211, ankit-k-gupta, poena, sabernhardt, shailu25. Fixes #59919. Built from https://develop.svn.wordpress.org/trunk@58907 git-svn-id: http://core.svn.wordpress.org/trunk@58303 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentysixteen/css/blocks.css | 15 +++++++++++++++ .../themes/twentysixteen/css/editor-blocks.css | 15 +++++++++++++++ wp-includes/version.php | 2 +- 3 files changed, 31 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentysixteen/css/blocks.css b/wp-content/themes/twentysixteen/css/blocks.css index c631e94053..e46160fff2 100644 --- a/wp-content/themes/twentysixteen/css/blocks.css +++ b/wp-content/themes/twentysixteen/css/blocks.css @@ -216,6 +216,21 @@ p.has-drop-cap:not(:focus)::first-letter { text-transform: none; } +.wp-block-pullquote[class*="-font-size"] blockquote, +.wp-block-pullquote[class*="-font-size"] blockquote p, +.wp-block-pullquote[class*="-font-size"] cite, +.wp-block-pullquote[style*="font-size"] blockquote, +.wp-block-pullquote[style*="font-size"] blockquote p, +.wp-block-pullquote[style*="font-size"] cite { + font-size: inherit; +} + +.wp-block-pullquote[style*="line-height"] blockquote, +.wp-block-pullquote[style*="line-height"] blockquote p, +.wp-block-pullquote[style*="line-height"] cite { + line-height: inherit; +} + .wp-block-pullquote cite:before { content: "\2014\00a0"; } diff --git a/wp-content/themes/twentysixteen/css/editor-blocks.css b/wp-content/themes/twentysixteen/css/editor-blocks.css index da242520b1..4135fbb9b9 100644 --- a/wp-content/themes/twentysixteen/css/editor-blocks.css +++ b/wp-content/themes/twentysixteen/css/editor-blocks.css @@ -538,6 +538,21 @@ figure[class*="wp-block-"] > figcaption { color: inherit; } +.wp-block-pullquote[class*="-font-size"] blockquote, +.wp-block-pullquote[class*="-font-size"] blockquote p, +.wp-block-pullquote[class*="-font-size"] cite, +.wp-block-pullquote[style*="font-size"] blockquote, +.wp-block-pullquote[style*="font-size"] blockquote p, +.wp-block-pullquote[style*="font-size"] cite { + font-size: inherit; +} + +.wp-block-pullquote[style*="line-height"] blockquote, +.wp-block-pullquote[style*="line-height"] blockquote p, +.wp-block-pullquote[style*="line-height"] cite { + line-height: inherit; +} + .wp-block-pullquote .wp-block-pullquote__citation:before { content: "\2014\00a0"; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 2481f3464e..333df06603 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-alpha-58906'; +$wp_version = '6.7-alpha-58907'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.