Skip to content

Commit 97cfe5a

Browse files
committed
Only apply the active and focus shadow on the focus state for :active
1 parent c0129f8 commit 97cfe5a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scss/_buttons.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@
4040
&:not([disabled]):not(.disabled):active,
4141
&:not([disabled]):not(.disabled).active {
4242
background-image: none;
43-
@include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow);
43+
box-shadow: $btn-active-box-shadow;
44+
45+
&:focus {
46+
@box-shadow: $btn-focus-box-shadow, $btn-active-box-shadow;
47+
}
4448
}
4549
}
4650

0 commit comments

Comments
 (0)