From 073e51040e174ea72b4633a5beb17b7c11b0251c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Zieli=C5=84ski?= Date: Mon, 5 Jul 2021 15:17:44 +0200 Subject: [PATCH] fix the NoPreview component's styling issues --- 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 {