From 8c1bfcf60526e6a4d0fc789ff2397454938b6117 Mon Sep 17 00:00:00 2001 From: jasmussen Date: Tue, 4 Oct 2022 10:39:52 +0200 Subject: [PATCH] Hide partial selection in multi selected nested blocks. --- packages/block-editor/src/components/block-list/style.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/block-editor/src/components/block-list/style.scss b/packages/block-editor/src/components/block-list/style.scss index 5c8e42ed159e4..e424778112b47 100644 --- a/packages/block-editor/src/components/block-list/style.scss +++ b/packages/block-editor/src/components/block-list/style.scss @@ -36,8 +36,9 @@ // Block multi selection .block-editor-block-list__block.is-multi-selected:not(.is-partially-selected) { - // Hide the native selection indicator. - &::selection { + // Hide the native selection indicator, for the selection, and children. + &::selection, + & ::selection { background: transparent; }