From f7b524171a8cfa0db61fdd0603c3a8b7a384dec2 Mon Sep 17 00:00:00 2001 From: jasmussen Date: Thu, 10 Jun 2021 08:54:42 +0200 Subject: [PATCH] Try: Fix navigation onselect alignment. --- .../src/components/block-list-appender/style.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 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 ebfeb4c0b090c1..c762dcb4283829 100644 --- a/packages/block-editor/src/components/block-list-appender/style.scss +++ b/packages/block-editor/src/components/block-list-appender/style.scss @@ -10,9 +10,9 @@ max-width: none; } - // Add a little left margin when used horizontally. - // The right margin should be set to auto, so as to not shift layout in flex containers. - margin: 0 auto 0 $grid-unit-10; + // Add a uniform margin around the block. + // This can hopefully avoid havoc in flex containers. + margin: $grid-unit-10; // ... unless it's the only child. &:first-child {