Ver Fonte

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

lilei há 3 anos atrás
pai
commit
9ff4ac73bf
1 ficheiros alterados com 3 adições e 1 exclusões
  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;