From c34aba767fc469d60d7f95eb6ff8f6df2be89723 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Thu, 22 Jun 2023 05:33:50 +0000 Subject: [PATCH] Twenty Ten: Improve Pullquote block line height for better readability. Props melchoyce, sabernhardt, ugyensupport, Heiko_Mamerow, pooja1210. Fixes #52546. git-svn-id: https://develop.svn.wordpress.org/trunk@55978 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyten/blocks.css | 5 +++++ src/wp-content/themes/twentyten/editor-blocks.css | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/wp-content/themes/twentyten/blocks.css b/src/wp-content/themes/twentyten/blocks.css index 3f9995347b..fc751d61ea 100644 --- a/src/wp-content/themes/twentyten/blocks.css +++ b/src/wp-content/themes/twentyten/blocks.css @@ -124,8 +124,13 @@ p.has-drop-cap:not(:focus)::first-letter { /* Pullquote */ +.wp-block-pullquote { + font-size: 1em; +} + .wp-block-pullquote p { font-size: 1.5em; + line-height: 1.3; } .wp-block-pullquote__citation, diff --git a/src/wp-content/themes/twentyten/editor-blocks.css b/src/wp-content/themes/twentyten/editor-blocks.css index 3baf3bb5fd..071e0a1995 100644 --- a/src/wp-content/themes/twentyten/editor-blocks.css +++ b/src/wp-content/themes/twentyten/editor-blocks.css @@ -261,9 +261,14 @@ p.has-drop-cap:not(:focus)::first-letter { /* Pullquote */ +.wp-block-pullquote { + font-size: 1em; +} + .wp-block-pullquote blockquote > p.rich-text, .wp-block-pullquote blockquote > .editor-rich-text p { font-size: 1.5em; + line-height: 1.3; } .wp-block-pullquote .wp-block-pullquote__citation {