From eda13cb5b6852f29df323352135eb447610cfb0d Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Fri, 27 May 2022 07:55:16 +0100 Subject: [PATCH] Fix selection issue --- .../src/components/block-content-overlay/style.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/block-content-overlay/style.scss b/packages/block-editor/src/components/block-content-overlay/style.scss index 5a7cfd9082c56..8b7e80276f990 100644 --- a/packages/block-editor/src/components/block-content-overlay/style.scss +++ b/packages/block-editor/src/components/block-content-overlay/style.scss @@ -15,7 +15,7 @@ } &::after { - content: none; + content: none !important; } &:hover:not(.is-dragging-blocks)::before { @@ -23,6 +23,10 @@ box-shadow: 0 0 0 $border-width var(--wp-admin-theme-color) inset; } + &.is-selected:not(.is-dragging-blocks)::before { + box-shadow: 0 0 0 $border-width var(--wp-admin-theme-color) inset; + } + .block-editor-block-list__block { pointer-events: none; }