Skip to content

Commit

Permalink
Hide partial selection in multi selected nested blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Oct 4, 2022
1 parent f6f942f commit 8c1bfcf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/block-editor/src/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8c1bfcf

Please sign in to comment.