Skip to content

Commit

Permalink
Button Example Page: Fix CSS that caused focus indicator to disappear…
Browse files Browse the repository at this point in the history
… (pull #2673)

Fixes issue #2650: Button example's sample buttons lack visual focus indication.

There was a conflict between the site template and example code. Fixed by:

In `patterns/button/examples/css/button.css`,
Removed: `z-index: -1;` from button selector.
  • Loading branch information
alflennik authored Apr 13, 2023
1 parent edc6ab7 commit 34b73c1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion content/patterns/button/examples/css/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@

[role="button"]:focus::before {
position: absolute;
z-index: -1;

/* button border width - outline width - offset */
top: calc(-1px - 3px - 3px);
Expand Down

0 comments on commit 34b73c1

Please sign in to comment.