style: fix InputNumber align issue (#42580)

* style: fix InputNumber align issue

* Update index.ts

* Update components/input-number/style/index.ts

* Update index.ts
This commit is contained in:
afc163 2023-05-25 00:10:49 +08:00 committed by GitHub
parent 88a00dbf9e
commit 67db6e1641
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,7 +157,6 @@ const genInputNumberStyles: GenerateStyle<InputNumberToken> = (token: InputNumbe
transition: `all ${motionDurationMid} linear`,
appearance: 'textfield',
fontSize: 'inherit',
verticalAlign: 'top',
...genPlaceholderStyle(token.colorTextPlaceholder),
'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':