瀏覽代碼

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;