From f5d3762fe78893f75b2fcb3b44d577e61099bbe8 Mon Sep 17 00:00:00 2001 From: Jordan Date: Wed, 5 Apr 2023 18:00:31 +1000 Subject: [PATCH 1/4] Update Block CSS label to include additional instructions. --- packages/edit-site/src/components/global-styles/screen-css.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/edit-site/src/components/global-styles/screen-css.js b/packages/edit-site/src/components/global-styles/screen-css.js index 779c64c86c4f5c..2a0eae51817539 100644 --- a/packages/edit-site/src/components/global-styles/screen-css.js +++ b/packages/edit-site/src/components/global-styles/screen-css.js @@ -22,7 +22,7 @@ function ScreenCSS( { name } ) { ? sprintf( // translators: %s: is the name of a block e.g., 'Image' or 'Table'. __( - 'Add your own CSS to customize the appearance of the %s block.' + 'Add your own CSS to customize the appearance of the %s block. You do not need to include a CSS selector, just add the property and value.' ), title ) From 9d58fbe71e52040509eb0a2d83019a4927760857 Mon Sep 17 00:00:00 2001 From: Jordan Date: Fri, 15 Sep 2023 12:06:22 +1000 Subject: [PATCH 2/4] Update CSS instructions to new file/location --- packages/edit-site/src/components/global-styles/screen-block.js | 2 +- packages/edit-site/src/components/global-styles/screen-css.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/edit-site/src/components/global-styles/screen-block.js b/packages/edit-site/src/components/global-styles/screen-block.js index 87dae3c8f2f36a..d3999ba665bf71 100644 --- a/packages/edit-site/src/components/global-styles/screen-block.js +++ b/packages/edit-site/src/components/global-styles/screen-block.js @@ -278,7 +278,7 @@ function ScreenBlock( { name, variation } ) { { sprintf( // translators: %s: is the name of a block e.g., 'Image' or 'Table'. __( - 'Add your own CSS to customize the appearance of the %s block.' + 'Add your own CSS to customize the appearance of the %s block. You do not need to include a CSS selector, just add the property and value.'' ), blockType?.title ) } diff --git a/packages/edit-site/src/components/global-styles/screen-css.js b/packages/edit-site/src/components/global-styles/screen-css.js index ad7935a9b234ac..71d47a52a50274 100644 --- a/packages/edit-site/src/components/global-styles/screen-css.js +++ b/packages/edit-site/src/components/global-styles/screen-css.js @@ -17,7 +17,7 @@ const { useGlobalStyle, AdvancedPanel: StylesAdvancedPanel } = unlock( function ScreenCSS() { const description = __( - 'Add your own CSS to customize the appearance and layout of your site. You do not need to include a CSS selector, just add the property and value.' + 'Add your own CSS to customize the appearance and layout of your site.' ); const [ style ] = useGlobalStyle( '', undefined, 'user', { shouldDecodeEncode: false, From bc5d98a50573d59e9e48bb8dd985ecdc2286dc70 Mon Sep 17 00:00:00 2001 From: Jordan Date: Fri, 15 Sep 2023 12:08:52 +1000 Subject: [PATCH 3/4] Update CSS instructions to new file/location --- packages/edit-site/src/components/global-styles/screen-block.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/edit-site/src/components/global-styles/screen-block.js b/packages/edit-site/src/components/global-styles/screen-block.js index d3999ba665bf71..dd47b6151331f5 100644 --- a/packages/edit-site/src/components/global-styles/screen-block.js +++ b/packages/edit-site/src/components/global-styles/screen-block.js @@ -278,7 +278,7 @@ function ScreenBlock( { name, variation } ) { { sprintf( // translators: %s: is the name of a block e.g., 'Image' or 'Table'. __( - 'Add your own CSS to customize the appearance of the %s block. You do not need to include a CSS selector, just add the property and value.'' + 'Add your own CSS to customize the appearance of the %s block. You do not need to include a CSS selector, just add the property and value.' ), blockType?.title ) } From 699ed5a296c9e3d2e48768f75c8784b5909530a7 Mon Sep 17 00:00:00 2001 From: apeatling Date: Mon, 18 Sep 2023 15:36:40 -0700 Subject: [PATCH 4/4] Fix linting issue, potentially. --- packages/edit-site/src/components/global-styles/screen-block.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/edit-site/src/components/global-styles/screen-block.js b/packages/edit-site/src/components/global-styles/screen-block.js index dd47b6151331f5..50353c6e09e366 100644 --- a/packages/edit-site/src/components/global-styles/screen-block.js +++ b/packages/edit-site/src/components/global-styles/screen-block.js @@ -278,7 +278,7 @@ function ScreenBlock( { name, variation } ) { { sprintf( // translators: %s: is the name of a block e.g., 'Image' or 'Table'. __( - 'Add your own CSS to customize the appearance of the %s block. You do not need to include a CSS selector, just add the property and value.' + 'Add your own CSS to customize the appearance of the %s block. You do not need to include a CSS selector, just add the property and value.' ), blockType?.title ) }