mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-21 02:50:11 +08:00
fix(theme-chalk): [input] fix unexpected var name of input-inner-height (#7600)
This commit is contained in:
parent
688dbb3011
commit
5e63d1ed36
@ -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)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user