From a8adb835bb8cfd8b6888851fa923d485cdc3aa36 Mon Sep 17 00:00:00 2001 From: Sainath Poojary Date: Mon, 30 Dec 2024 09:18:50 +0530 Subject: [PATCH] Fix: Ensure consistent font-weight for quote block in editor and frontend - Updated `font-weight` from `400` to `inherit` for `.wp-block-quote p` - Applied changes to `editor-style-block.css` and `editor-style-block-rtl.css` --- .../themes/twentytwenty/assets/css/editor-style-block-rtl.css | 2 +- .../themes/twentytwenty/assets/css/editor-style-block.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 8a5f813502b72..0801bf96f3c43 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 @@ -682,7 +682,7 @@ hr.wp-block-separator.is-style-dots::before { .editor-styles-wrapper .wp-block-quote p { color: inherit; - font-weight: 400; + font-weight: inherit; margin: 0 0 20px 0; letter-spacing: inherit; } 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 7f18f4772441e..c1d8e3a8d6deb 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 @@ -686,7 +686,7 @@ hr.wp-block-separator.is-style-dots::before { .editor-styles-wrapper .wp-block-quote p { color: inherit; - font-weight: 400; + font-weight: inherit; margin: 0 0 20px 0; letter-spacing: inherit; }