Skip to content

Commit

Permalink
fix(icon-button): fix IconButton style error when disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
simonguo committed Dec 7, 2020
1 parent c4c0711 commit ecbf4e5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/IconButton/styles/common.less
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
&:hover {
.btn-icon-with-text(@btn-icon-with-text-hover-bg);
}
}

&:active,
&.@{ns}btn-active,
.@{ns}open > .@{ns}dropdown-toggle& {
.btn-icon-with-text(@btn-icon-with-text-active-bg);

&:hover,
&:focus,
&.focus {
&:active,
&.@{ns}btn-active,
.@{ns}open > .@{ns}dropdown-toggle& {
.btn-icon-with-text(@btn-icon-with-text-active-bg);

&:hover,
&:focus,
&.focus {
.btn-icon-with-text(@btn-icon-with-text-active-bg);
}
}
}
}
Expand Down

1 comment on commit ecbf4e5

@vercel
Copy link

@vercel vercel bot commented on ecbf4e5 Dec 7, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.