Browse Source

style: hide number input step

peter 1 year ago
parent
commit
c2d58d37ca
1 changed files with 20 additions and 0 deletions
  1. 20 0
      src/pages/purchase-order/edit.vue

+ 20 - 0
src/pages/purchase-order/edit.vue

@@ -1911,6 +1911,26 @@ axios
   })
 </script>
 
+<style lang="scss">
+input[type='number'] {
+  -moz-appearance: textfield;
+  appearance: textfield;
+  &:hover {
+    -moz-appearance: textfield;
+    appearance: textfield;
+    &::-webkit-inner-spin-button,
+    &::-webkit-outer-spin-button {
+      -webkit-appearance: none;
+      margin: 0;
+    }
+  }
+  &::-webkit-inner-spin-button,
+  &::-webkit-outer-spin-button {
+    -webkit-appearance: none;
+    margin: 0;
+  }
+}
+</style>
 <style lang="scss" scoped>
 .view-window {
   height: 100vh;