Skip to content

Commit

Permalink
Remove box shadow from the (WordPress#14936)
Browse files Browse the repository at this point in the history
Fixes WordPress#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.
  • Loading branch information
kjellr authored and mchowning committed Apr 15, 2019
1 parent 37fb8fa commit 193c76b
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}

Expand Down

0 comments on commit 193c76b

Please sign in to comment.