From e18a330fbd85f80d21ca557aefef6c9aa85d1021 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 14 Feb 2017 11:54:52 +0800 Subject: [PATCH] Fix danger button click effect --- components/button/style/index.less | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/button/style/index.less b/components/button/style/index.less index 7982c9e3aa..d5bdf0d8ca 100644 --- a/components/button/style/index.less +++ b/components/button/style/index.less @@ -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;