From 8dc73f460172db06bf07cd630f626b8a097c2ca6 Mon Sep 17 00:00:00 2001 From: afc163 Date: Sat, 18 Feb 2017 00:22:38 +0800 Subject: [PATCH] Fix shake bug fo Button loading with icon, close #4913 --- components/button/style/index.less | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/button/style/index.less b/components/button/style/index.less index 0d69260a1f..3b398cebab 100644 --- a/components/button/style/index.less +++ b/components/button/style/index.less @@ -82,13 +82,16 @@ display: block; } + .@{iconfont-css-prefix} { + transition: all .3s @ease-in-out; + } + &&-loading:not(&-circle):not(&-circle-outline) { padding-left: 29px; pointer-events: none; position: relative; .@{iconfont-css-prefix} { margin-left: -14px; - transition: all .3s @ease-in-out; } }