Browse Source

fix(input): taro h5 style bug

richard1015 4 years ago
parent
commit
ed49edb6bf
1 changed files with 11 additions and 9 deletions
  1. 11 9
      src/packages/__VUE/input/index.scss

+ 11 - 9
src/packages/__VUE/input/index.scss

@@ -8,21 +8,23 @@
   font-size: 14px;
   box-sizing: border-box;
 
+  .input-text {
+    width: 230px;
+    flex: 1;
+    padding: 0 10px;
+    padding-right: 35px;
+    outline: 0 none;
+    border: 0;
+    text-decoration: none;
+  }
+
   &-label {
     width: 80px;
     overflow: hidden;
     display: inline-block;
     text-align: left;
     display: flex;
-    .input-text {
-      width: 230px;
-      flex: 1;
-      padding: 0 10px;
-      padding-right: 35px;
-      outline: 0 none;
-      border: 0;
-      text-decoration: none;
-    }
+
     .label-string {
       overflow: hidden;
       white-space: nowrap;