diff --git a/packages/block-library/src/navigation/editor.scss b/packages/block-library/src/navigation/editor.scss index a5d12fb85fc40..726b86053c49e 100644 --- a/packages/block-library/src/navigation/editor.scss +++ b/packages/block-library/src/navigation/editor.scss @@ -48,7 +48,6 @@ $navigation-item-height: 46px; } // Remove the dashed outlines for child blocks. - &.is-hovered .wp-block-navigation .block-editor-block-list__block::before, &.is-selected .wp-block-navigation .block-editor-block-list__block::before, &.has-child-selected .wp-block-navigation .block-editor-block-list__block::before { border-color: transparent !important; // !important used to keep the selector from growing any more complex. diff --git a/packages/block-library/src/social-links/editor.scss b/packages/block-library/src/social-links/editor.scss index 219b20ebde41e..2b4f535675dfb 100644 --- a/packages/block-library/src/social-links/editor.scss +++ b/packages/block-library/src/social-links/editor.scss @@ -39,12 +39,7 @@ border-bottom: none; } - .wp-block-social-links > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block.is-hovered:not(.is-navigate-mode)::before { - box-shadow: none; - } - // 4. Remove the dashed outlines for child blocks. - &.is-hovered .wp-block-social-links .block-editor-block-list__block::before, &.is-selected .wp-block-social-links .block-editor-block-list__block::before, &.has-child-selected .wp-block-social-links .block-editor-block-list__block::before { border-color: transparent !important; // !important used to keep the selector from growing any more complex.