Skip to content

Commit

Permalink
Fix danger button click effect
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Feb 14, 2017
1 parent 597e020 commit e18a330
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/button/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,14 @@
border-radius: inherit;
border: 0 solid @primary-color;
opacity: 0.4;
animation: buttonEffect 0.36s ease-out forwards;
animation: buttonEffect 0.48s ease-in-out forwards;
display: block;
}

&-danger&-clicked:after {
border-color: @btn-danger-bg;
}

&-background-ghost {
background: transparent!important;
border-color: #fff;
Expand Down

0 comments on commit e18a330

Please sign in to comment.