From af03df06222eed63d31091ad219222f19f809b0f Mon Sep 17 00:00:00 2001 From: jasmussen Date: Wed, 14 Sep 2022 14:25:55 +0200 Subject: [PATCH] Hide selection on parent container. --- packages/block-editor/src/components/block-list/style.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/block-editor/src/components/block-list/style.scss b/packages/block-editor/src/components/block-list/style.scss index 33e0fcc8b4227..fee65f6e00e00 100644 --- a/packages/block-editor/src/components/block-list/style.scss +++ b/packages/block-editor/src/components/block-list/style.scss @@ -43,6 +43,11 @@ } } + // Hide the selection indicator on .block-editor-block-list__layout, else Safari will show it stacked. + .has-multi-selection &::selection { + background: transparent; + } + &.is-navigate-mode .block-editor-block-list__block.is-selected, & .is-block-moving-mode.block-editor-block-list__block.has-child-selected { border-radius: $radius-block-ui;