From e19d0ea0a611d7d9194e27f17233b0ca70b3c167 Mon Sep 17 00:00:00 2001 From: Kjell Reigstad Date: Thu, 11 Apr 2019 15:54:31 -0400 Subject: [PATCH] Remove box shadow from the Fixes #14853. This removes the box shadow on the inserter button that appears to the left of the default block appender (or to the right on mobile). This brings the hover state in line with the hover state for the sibling inserter. --- .../src/components/default-block-appender/style.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/block-editor/src/components/default-block-appender/style.scss b/packages/block-editor/src/components/default-block-appender/style.scss index d9728e201c1ec..6a268661c34e4 100644 --- a/packages/block-editor/src/components/default-block-appender/style.scss +++ b/packages/block-editor/src/components/default-block-appender/style.scss @@ -74,6 +74,12 @@ .block-editor-inserter__toggle { margin-right: 0; + + // Hide the box shadow that appears on hover. + // All the :not() rules are needed to override default iconButton styles. + &:not(:disabled):not([aria-disabled="true"]):not(.is-default):hover { + box-shadow: none; + } } }