Skip to content

Commit

Permalink
Fix regression with color swatch focus style (WordPress#14944)
Browse files Browse the repository at this point in the history
When you focus a color swatch, the circle around the check is offset.

Removing the border that this PR removes, fixes that, and appears to not have any side-effects.

I'm not sure how it regressed.
  • Loading branch information
jasmussen authored and mchowning committed Apr 15, 2019
1 parent 54e6fbb commit 37fb8fa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/components/src/color-palette/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ $color-palette-circle-spacing: 14px;

&.is-active {
box-shadow: inset 0 0 0 4px;
border: $border-width solid $dark-gray-400;
position: relative;
z-index: 1;

Expand Down

0 comments on commit 37fb8fa

Please sign in to comment.