From aac1a378961dbdad72c14200471c58bfaa6530ff Mon Sep 17 00:00:00 2001 From: Kjell Reigstad Date: Fri, 12 Apr 2019 09:30:02 -0400 Subject: [PATCH] Remove box shadow from the (#14936) 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 d9728e201c1eca..6a268661c34e44 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; + } } }