ソースを参照

fix(button): taro h5 width abnormal

richard1015 3 年 前
コミット
b3fd3302d6
1 ファイル変更1 行追加0 行削除
  1. 1 0
      src/packages/__VUE/button/index.scss

+ 1 - 0
src/packages/__VUE/button/index.scss

@@ -1,6 +1,7 @@
 .nut-button {
   position: relative;
   display: inline-block;
+  width: auto;
   flex-shrink: 0;
   height: $button-default-height;
   box-sizing: border-box;