Parcourir la source

InputNumber: fix button style (#698)

cinwell.li il y a 8 ans
Parent
commit
56b23359d3
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      packages/theme-default/src/input-number.css

+ 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;