Эх сурвалжийг харах

InputNumber: fix button style (#698)

cinwell.li 8 жил өмнө
parent
commit
56b23359d3

+ 3 - 3
packages/theme-default/src/input-number.css

@@ -13,11 +13,11 @@
       appearance: none;
     }
     @e increase, decrease {
-      height: 100%;
+      height: auto;
       border-left: var(--border-base);
       width: var(--input-height);
-      line-height: var(--input-height);
-      top: 0;
+      line-height: calc(var(--input-height) - 2);
+      top: 1px;
       text-align: center;
       color: #99A9BF;
       cursor: pointer;