From 4e4149890cfa0c349f0bc9ef40e90aa63fb94d9a Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Tue, 6 Sep 2022 00:55:43 +0900 Subject: [PATCH] BlockInspector, ComplementaryArea: Fix overscoped `p` style --- packages/block-editor/src/components/block-inspector/style.scss | 2 +- packages/interface/src/components/complementary-area/style.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/block-editor/src/components/block-inspector/style.scss b/packages/block-editor/src/components/block-inspector/style.scss index cb864b73ebef3d..19327916581f46 100644 --- a/packages/block-editor/src/components/block-inspector/style.scss +++ b/packages/block-editor/src/components/block-inspector/style.scss @@ -1,5 +1,5 @@ .block-editor-block-inspector { - p { + p:not(.components-base-control__help) { margin-top: 0; } diff --git a/packages/interface/src/components/complementary-area/style.scss b/packages/interface/src/components/complementary-area/style.scss index a3e7dc949ca124..261080f29aacd1 100644 --- a/packages/interface/src/components/complementary-area/style.scss +++ b/packages/interface/src/components/complementary-area/style.scss @@ -31,7 +31,7 @@ } } - p { + p:not(.components-base-control__help) { margin-top: 0; }