Browse Source

去掉数字输入框上下箭头按钮

lilei 3 năm trước cách đây
mục cha
commit
9ff4ac73bf
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/components/index.less

+ 3 - 1
src/components/index.less

@@ -17,7 +17,9 @@
     -webkit-line-clamp: 3;    
     overflow: hidden;
 }
-
+.ant-input-number-handler-wrap{
+  display: none;
+}
 /* 扩展ant design pro按钮组件颜色 */
 .ant-btn-primary.button-primary {
   background-color: #39f;