From 7971c1bf9be49e5bc6e38a73561fcd7b0242881d Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Mon, 6 Jun 2022 13:29:03 +0000 Subject: [PATCH] Twenty-Twenty: Improve Quote block style consistency between front and back-end. This changeset updates the `font-style` value of the Quote block in the block editor to ensure styles are consistent between the editor and the front-end. Props kajalgohel, iamjaydip, audrasjb, whaze, mukesh27. Fixes #55931. git-svn-id: https://develop.svn.wordpress.org/trunk@53470 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentytwenty/assets/css/editor-style-block-rtl.css | 4 ++++ .../themes/twentytwenty/assets/css/editor-style-block.css | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css index e27e4afba8..041c0524d8 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css @@ -658,6 +658,10 @@ hr.wp-block-separator.is-style-dots::before { line-height: 1.25; } +.editor-styles-wrapper .wp-block-quote cite { + font-style: normal; +} + .editor-styles-wrapper .wp-block-quote p { color: inherit; font-weight: 400; diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css index 0d930c8b79..270035ce70 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css @@ -658,6 +658,10 @@ hr.wp-block-separator.is-style-dots::before { line-height: 1.25; } +.editor-styles-wrapper .wp-block-quote cite { + font-style: normal; +} + .editor-styles-wrapper .wp-block-quote p { color: inherit; font-weight: 400;