Skip to content

Commit 7c30d0c

Browse files
author
Mike Taylor
committed
Merge pull request #1020 from webcompat/focus-button
Issue #1006 - fixed focus button
2 parents 066db4d + c051be2 commit 7c30d0c

File tree

1 file changed

+4
-2
lines changed
  • webcompat/static/css/development/components

1 file changed

+4
-2
lines changed

webcompat/static/css/development/components/button.css

+4-2
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,17 @@
6060
border: solid 4px var(--Button-defaultColor);
6161
}
6262

63-
.wc-Button--default:hover:not(.is-disabled) {
63+
.wc-Button--default:hover:not(.is-disabled),
64+
.wc-Button--default:focus:not(.is-disabled) {
6465
background-color: var(--Button-defaultColorHover);
6566
}
6667

6768
.wc-Button--action {
6869
border: solid 4px var(--Button-actionColor);
6970
}
7071

71-
.wc-Button--action:hover:not(.is-disabled) {
72+
.wc-Button--action:hover:not(.is-disabled),
73+
.wc-Button--action:focus:not(.is-disabled) {
7274
background-color: var(--Button-actionColorHover);
7375
}
7476

0 commit comments

Comments
 (0)