Skip to content

Commit

Permalink
remove box-shadow from buttons on focus
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras committed Nov 26, 2020
1 parent acbd805 commit 60c4cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/button/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
}

// Add outline to button on focus to indicate focus-state
&:focus {
&:focus:not(.wp-block-buttons &) {
box-shadow: 0 0 0 1px $white, 0 0 0 3px var(--wp-admin-theme-color);

// Windows' High Contrast mode will show this outline, but not the box-shadow.
Expand Down

0 comments on commit 60c4cae

Please sign in to comment.