From 56b3f5b60ae9a034251300903dbaf8021d6bd337 Mon Sep 17 00:00:00 2001 From: Addison-Stavlo Date: Fri, 21 May 2021 09:31:42 -0400 Subject: [PATCH 1/2] update flex-block class selector --- .../src/components/template-part-converter/style.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/edit-site/src/components/template-part-converter/style.scss b/packages/edit-site/src/components/template-part-converter/style.scss index ceb8429088e36b..4accc4044ce8ed 100644 --- a/packages/edit-site/src/components/template-part-converter/style.scss +++ b/packages/edit-site/src/components/template-part-converter/style.scss @@ -56,12 +56,12 @@ color: $gray-900; cursor: auto; - .components-flex__block div { + .components-flex-block div { color: $gray-600; } } - .components-flex__block { + .components-flex-block { padding-top: $grid-unit-05; white-space: normal; From 45e6525ad2c50abe7ac72f6fd996d1e534fd506c Mon Sep 17 00:00:00 2001 From: Addison-Stavlo Date: Fri, 21 May 2021 09:52:50 -0400 Subject: [PATCH 2/2] use custom className instead --- .../template-part-converter/convert-to-template-part.js | 2 +- .../src/components/template-part-converter/style.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/edit-site/src/components/template-part-converter/convert-to-template-part.js b/packages/edit-site/src/components/template-part-converter/convert-to-template-part.js index 4c4954ef58ee7c..863a6b2eabbaf5 100644 --- a/packages/edit-site/src/components/template-part-converter/convert-to-template-part.js +++ b/packages/edit-site/src/components/template-part-converter/convert-to-template-part.js @@ -140,7 +140,7 @@ export default function ConvertToTemplatePart( { clientIds, blocks } ) { icon={ icon } /> - + { label }
{ description } diff --git a/packages/edit-site/src/components/template-part-converter/style.scss b/packages/edit-site/src/components/template-part-converter/style.scss index 4accc4044ce8ed..9a3ab7aa41c742 100644 --- a/packages/edit-site/src/components/template-part-converter/style.scss +++ b/packages/edit-site/src/components/template-part-converter/style.scss @@ -56,12 +56,12 @@ color: $gray-900; cursor: auto; - .components-flex-block div { + .edit-site-template-part-converter__option-label div { color: $gray-600; } } - .components-flex-block { + .edit-site-template-part-converter__option-label { padding-top: $grid-unit-05; white-space: normal;