Skip to content

Commit

Permalink
fix: inversed button focus
Browse files Browse the repository at this point in the history
  • Loading branch information
devharris7 committed Jan 14, 2021
1 parent 70f02e9 commit 5630abe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/Button/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
border-color: $color-button-success-border;
color: $color-white;

&:focus {
&.btn-inverse &:focus {
background-color: $color-button-success-background;
border-color: $color-button-success-border;
color: $color-white;
Expand All @@ -124,7 +124,7 @@
border-color: $color-button-info-border;
color: $color-white;

&:focus {
&.btn-inverse &:focus {
background-color: $color-button-info-background;
border-color: $color-button-info-border;
color: $color-white;
Expand All @@ -139,7 +139,7 @@
color: $color-white;
cursor: not-allowed;

&:focus {
&.btn-inverse &:focus {
background-color: $color-button-warning-background;
border-color: $color-button-warning-border;
color: $color-white;
Expand All @@ -153,7 +153,7 @@
border-color: $color-button-danger-border;
color: $color-white;

&:focus {
&.btn-inverse &:focus {
background-color: $color-button-danger-background;
border-color: $color-button-danger-border;
color: $color-white;
Expand Down

0 comments on commit 5630abe

Please sign in to comment.