소스 검색

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

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;