From f6eb4ec16e730db815d09e777ffdc20fc69537b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ella=20van=C2=A0Durpe?= Date: Fri, 24 Jan 2020 21:59:20 +0200 Subject: [PATCH] Remove dead is-hovered selectors (#19870) --- 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.