Browse Source

fix: inputnumber span 不起作用的问题,增加样式之后可以根据Span动态适应 (#2065)

Co-authored-by: van <vancnblog@126.com>
vancenlee 2 years ago
parent
commit
9afb4318fd
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/design/ant/input.less

+ 7 - 0
src/design/ant/input.less

@@ -22,3 +22,10 @@
     padding: 4px;
   }
 }
+
+.ant-input-number {
+  width: 100% !important;
+  max-width: 100%;
+}
+
+