From e3f7a7fd8343a9051f99219a15566bab04e12daa Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Fri, 17 Jan 2020 16:48:42 -0500 Subject: [PATCH 1/2] Block Editor: Update BEM syntax to CSS modifer guidelines --- .../src/components/link-control/index.js | 2 +- .../responsive-block-control/index.js | 4 ++-- .../test/__snapshots__/index.js.snap | 2 +- .../responsive-block-control/test/index.js | 20 +++++++++---------- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/block-editor/src/components/link-control/index.js b/packages/block-editor/src/components/link-control/index.js index 018d8386c153e..0dc0f55a82591 100644 --- a/packages/block-editor/src/components/link-control/index.js +++ b/packages/block-editor/src/components/link-control/index.js @@ -354,7 +354,7 @@ function LinkControl( { diff --git a/packages/block-editor/src/components/responsive-block-control/index.js b/packages/block-editor/src/components/responsive-block-control/index.js index 07b6a6e5fa874..821f27b309d70 100644 --- a/packages/block-editor/src/components/responsive-block-control/index.js +++ b/packages/block-editor/src/components/responsive-block-control/index.js @@ -95,14 +95,14 @@ function ResponsiveBlockControl( props ) { /> { ! isResponsive && ( -
+
{ defaultControl }
) } { isResponsive && ( );