File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
components/input-number/style Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ const genInputNumberStyles: GenerateStyle<InputNumberToken> = (token: InputNumbe
3939 colorTextDescription,
4040 motionDurationMid,
4141 colorPrimary,
42- controlHeight,
4342 inputPaddingHorizontal,
43+ inputPaddingVertical,
4444 colorBgContainer,
4545 colorTextDisabled,
4646 borderRadiusSM,
@@ -147,8 +147,7 @@ const genInputNumberStyles: GenerateStyle<InputNumberToken> = (token: InputNumbe
147147 '&-input' : {
148148 ...resetComponent ( token ) ,
149149 width : '100%' ,
150- height : controlHeight - 2 * lineWidth ,
151- padding : `0 ${ inputPaddingHorizontal } px` ,
150+ padding : `${ inputPaddingVertical } px ${ inputPaddingHorizontal } px` ,
152151 textAlign : 'start' ,
153152 backgroundColor : 'transparent' ,
154153 border : 0 ,
You can’t perform that action at this time.
0 commit comments