@@ -50,10 +50,14 @@
}
input,
- &__text--readonly {
+ &__text--readonly,
+ &__text--input {
width: $inputnumber-input-width;
height: 100%;
text-align: center;
+ display: flex;
+ justify-content: center;
+ align-items: center;
outline: none;
border: $inputnumber-input-border;
font-size: $inputnumber-input-font-size;
@@ -15,6 +15,7 @@
<input
v-else
type="number"
+ class="nut-inputnumber__text--input"
:min="min"
:max="max"
:style="{ width: pxCheck(inputWidth) }"