From 5e63d1ed36639c4ee456f39a0315f385627c0b7a Mon Sep 17 00:00:00 2001 From: Zhongxiang Wang Date: Tue, 10 May 2022 09:48:23 +0800 Subject: [PATCH] fix(theme-chalk): [input] fix unexpected var name of input-inner-height (#7600) --- packages/theme-chalk/src/input.scss | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/packages/theme-chalk/src/input.scss b/packages/theme-chalk/src/input.scss index 71ca573906..afa80e711e 100644 --- a/packages/theme-chalk/src/input.scss +++ b/packages/theme-chalk/src/input.scss @@ -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) ); } }