Skip to content

Commit

Permalink
fix: disabled secondary anchor #button had an issue where it got effe…
Browse files Browse the repository at this point in the history
…cted even on disabled state
  • Loading branch information
tujoworker committed Feb 20, 2019
1 parent 8fd0b5c commit 50a0866
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,14 @@
var(--color-mint-green-50)
);

&[disabled] {
&[disabled],
&[disabled]:focus // only because of href/anchor button
{
color: var(--color-sea-green-alt-30);
background-color: var(--color-white);

// only because of href/anchor button
@include fakeBorder(var(--color-sea-green-alt-30), 1px, inset);
}
}

Expand Down

0 comments on commit 50a0866

Please sign in to comment.