fix(theme-chalk): [input] fix unexpected var name of input-inner-height (#7600)

This commit is contained in:
Zhongxiang Wang 2022-05-10 09:48:23 +08:00 committed by GitHub
parent 688dbb3011
commit 5e63d1ed36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -200,12 +200,7 @@
// use map.get as default value for date picker range
@include set-css-var-value(
'input-inner-height',
calc(
var(
#{getCssVarName('input-height')},
#{map.get($input-height, 'default')}
) - $border-width * 2
)
calc(var(#{getCssVarName('input-height')}) - $border-width * 2)
);
width: 100%;
@ -353,12 +348,7 @@
@include e(inner) {
@include set-css-var-value(
'input-inner-height',
calc(
var(
#{getCssVarName('input-height', $size)},
#{map.get($input-height, $size)}
) - $border-width * 2
)
calc(var(#{getCssVarName('input-height')}) - $border-width * 2)
);
}
}