Skip to content

Commit

Permalink
Remove box shadow from the (#14936)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kjellr authored and aduth committed Apr 16, 2019
1 parent fc2eccc commit fde6ad4
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 fde6ad4

Please sign in to comment.