From dbb99421d783072a5131f0de4ad20674fb78bd96 Mon Sep 17 00:00:00 2001 From: jasmussen Date: Mon, 9 Nov 2020 13:29:18 +0100 Subject: [PATCH] CSS appears dead. See #14943. --- .../src/components/block-list-appender/style.scss | 6 ------ packages/edit-post/src/components/visual-editor/style.scss | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/block-editor/src/components/block-list-appender/style.scss b/packages/block-editor/src/components/block-list-appender/style.scss index f5eb38c57f8f4..1b893c26875d7 100644 --- a/packages/block-editor/src/components/block-list-appender/style.scss +++ b/packages/block-editor/src/components/block-list-appender/style.scss @@ -3,12 +3,6 @@ .block-editor-block-list__block .block-list-appender { margin: $grid-unit-10 0; - // Add additional margin to the appender when inside a group with a background color. - // If changing this, be sure to sync up with group/editor.scss line 13. - .has-background & { - margin: ($grid-unit-20 + $block-spacing) $grid-unit-10; - } - // Animate appearance. .block-list-appender__toggle { padding: 0; diff --git a/packages/edit-post/src/components/visual-editor/style.scss b/packages/edit-post/src/components/visual-editor/style.scss index 51099a6c33940..6894839d78b0b 100644 --- a/packages/edit-post/src/components/visual-editor/style.scss +++ b/packages/edit-post/src/components/visual-editor/style.scss @@ -52,6 +52,6 @@ // Apply default block margin below the post title. // This ensures the first block on the page is in a good position. // This rule can be retired once the title becomes an actual block. - margin-bottom: ($block-padding * 2) + $block-spacing; // This matches 2em in the vanilla style. + margin-bottom: $default-block-margin; } }