ソースを参照

update input transition

afc163 8 年 前
コミット
7ae6bac901
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/components/HeaderSearch/index.less

+ 1 - 1
src/components/HeaderSearch/index.less

@@ -1,7 +1,7 @@
 @import "~antd/lib/style/themes/default.less";
 
 .input {
-  transition: all .3s;
+  transition: width .3s, margin-left .3s;
   width: 0;
   background: transparent;
   border-radius: 0;