From a5f6693722394c427bea3453813234994026f787 Mon Sep 17 00:00:00 2001 From: David Szabo Date: Tue, 2 Feb 2021 15:25:50 +0100 Subject: [PATCH 1/3] Remove empty line --- packages/block-editor/src/components/block-card/style.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/block-editor/src/components/block-card/style.scss b/packages/block-editor/src/components/block-card/style.scss index a7f313c5d4ab5a..35414dc1a37b38 100644 --- a/packages/block-editor/src/components/block-card/style.scss +++ b/packages/block-editor/src/components/block-card/style.scss @@ -1,4 +1,3 @@ - .block-editor-block-card { display: flex; align-items: flex-start; From 19597f82cc00535c95fe3c6e14ae591eb5166def Mon Sep 17 00:00:00 2001 From: David Szabo Date: Tue, 2 Feb 2021 15:26:15 +0100 Subject: [PATCH 2/3] Remove unused style --- .../block-editor/src/components/block-card/style.scss | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/block-editor/src/components/block-card/style.scss b/packages/block-editor/src/components/block-card/style.scss index 35414dc1a37b38..fe23133c9f88a4 100644 --- a/packages/block-editor/src/components/block-card/style.scss +++ b/packages/block-editor/src/components/block-card/style.scss @@ -3,14 +3,6 @@ align-items: flex-start; } -.block-editor-block-card__icon { - border: $border-width solid $gray-300; - padding: 7px; - margin-right: 10px; - height: 36px; - width: 36px; -} - .block-editor-block-card__content { flex-grow: 1; } From 2aa95cac0a2019a50610dec26b3654ae6d449a31 Mon Sep 17 00:00:00 2001 From: David Szabo Date: Tue, 2 Feb 2021 15:26:44 +0100 Subject: [PATCH 3/3] Make icon fixed width --- packages/block-editor/src/components/block-card/style.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-editor/src/components/block-card/style.scss b/packages/block-editor/src/components/block-card/style.scss index fe23133c9f88a4..e670b50d45b4f3 100644 --- a/packages/block-editor/src/components/block-card/style.scss +++ b/packages/block-editor/src/components/block-card/style.scss @@ -19,6 +19,7 @@ } .block-editor-block-card .block-editor-block-icon { + flex: 0 0 $button-size; margin-left: -2px; margin-right: 10px; padding: 0 3px;