Skip to content

Commit

Permalink
Hide selection on parent container.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Sep 15, 2022
1 parent ec8ad1d commit 5721246
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/block-editor/src/components/block-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5721246

Please sign in to comment.