瀏覽代碼

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

lilei 3 年之前
父節點
當前提交
9ff4ac73bf
共有 1 個文件被更改,包括 3 次插入1 次删除
  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;