diff --git a/packages/block-editor/src/components/block-content-overlay/content.scss b/packages/block-editor/src/components/block-content-overlay/content.scss index 17fd28ae07279a..41ed71e0b4c27c 100644 --- a/packages/block-editor/src/components/block-content-overlay/content.scss +++ b/packages/block-editor/src/components/block-content-overlay/content.scss @@ -14,17 +14,17 @@ z-index: z-index(".block-editor-block-list__block.has-block-overlay"); } - &::after { + &:not(.is-multi-selected)::after { content: none !important; } - &:hover:not(.is-dragging-blocks)::before { + &:hover:not(.is-dragging-blocks):not(.is-multi-selected)::before { background: rgba(var(--wp-admin-theme-color--rgb), 0.04); box-shadow: 0 0 0 $border-width var(--wp-admin-theme-color) inset; } - &.is-reusable:hover:not(.is-dragging-blocks)::before, - &.wp-block-template-part:hover:not(.is-dragging-blocks)::before { + &.is-reusable:hover:not(.is-dragging-blocks):not(.is-multi-selected)::before, + &.wp-block-template-part:hover:not(.is-dragging-blocks):not(.is-multi-selected)::before { background: rgba(var(--wp-block-synced-color--rgb), 0.04); box-shadow: 0 0 0 $border-width var(--wp-block-synced-color) inset; }