From d2f391afe1d7e85d4a8f0fcaadccf515ce67aae5 Mon Sep 17 00:00:00 2001 From: Ella van Durpe Date: Fri, 24 Jan 2020 16:52:23 +0200 Subject: [PATCH] Remove dead is-hovered selectors --- packages/block-library/src/navigation/editor.scss | 1 - packages/block-library/src/social-links/editor.scss | 5 ----- 2 files changed, 6 deletions(-) diff --git a/packages/block-library/src/navigation/editor.scss b/packages/block-library/src/navigation/editor.scss index a5d12fb85fc407..726b86053c49eb 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 219b20ebde41ec..2b4f535675dfbc 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.