From d83f4cc703a75b5e47ad51c6e72d9d8ebb17c5f6 Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Fri, 17 Jan 2020 16:48:42 -0500 Subject: [PATCH] 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 27e21649a29c2..8ae5668b3d921 100644 --- a/packages/block-editor/src/components/link-control/index.js +++ b/packages/block-editor/src/components/link-control/index.js @@ -202,7 +202,7 @@ function LinkControl( { { filterURLForDisplay( safeDecodeURI( value.url ) ) || '' } - 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 c4f47d1169128..35ffaf4226261 100644 --- a/packages/block-editor/src/components/responsive-block-control/index.js +++ b/packages/block-editor/src/components/responsive-block-control/index.js @@ -78,13 +78,13 @@ function ResponsiveBlockControl( props ) { /> { ! isResponsive && ( -
+
{ defaultControl }
) } { isResponsive && ( -