From e593ceea347c691f82f4fbf63bba9efe40795c9a Mon Sep 17 00:00:00 2001 From: Adam Zielinski Date: Mon, 5 Jul 2021 16:41:35 +0200 Subject: [PATCH] fix the NoPreview component's styling issues (#33200) --- packages/widgets/src/blocks/legacy-widget/editor.scss | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/packages/widgets/src/blocks/legacy-widget/editor.scss b/packages/widgets/src/blocks/legacy-widget/editor.scss index de88a38f889072..a7bbb6b92d9e9f 100644 --- a/packages/widgets/src/blocks/legacy-widget/editor.scss +++ b/packages/widgets/src/blocks/legacy-widget/editor.scss @@ -114,10 +114,15 @@ width: 100%; } -.wp-block-legacy-widget__edit-no-preview { +.wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview.wp-block-legacy-widget__edit-no-preview { + &, + & h3, + & p { + font-family: $default-font; + font-size: $default-font-size; + } + background: $gray-100; - font-family: $default-font; - font-size: $default-font-size; padding: $grid-unit-10 $grid-unit-15; h3 {