diff --git a/packages/block-editor/src/components/block-toolbar/style.scss b/packages/block-editor/src/components/block-toolbar/style.scss index 7ad113530fdc2e..b5f18dcf696c67 100644 --- a/packages/block-editor/src/components/block-toolbar/style.scss +++ b/packages/block-editor/src/components/block-toolbar/style.scss @@ -141,7 +141,6 @@ display: inline-flex; height: 2px; position: absolute; - right: 0; top: $grid-unit-20 - $border-width; width: 2px; } diff --git a/packages/block-editor/src/components/block-tools/style.scss b/packages/block-editor/src/components/block-tools/style.scss index 8f0f248945ab1a..239265003d6b9b 100644 --- a/packages/block-editor/src/components/block-tools/style.scss +++ b/packages/block-editor/src/components/block-tools/style.scss @@ -166,6 +166,11 @@ content: ""; } + // Hide the dot divider since the parent selector is visually separated. + &::after { + display: none; + } + .block-editor-block-parent-selector__button { border: $border-width solid $gray-900; padding-right: 6px; @@ -186,6 +191,11 @@ position: relative; left: auto; margin-left: -$border-width; + + // Show the dot divider since the parent selector is inline. + &::after { + display: inline-flex; + } } .block-editor-block-mover__move-button-container,