mirror of
https://github.com/element-plus/element-plus.git
synced 2025-02-05 11:21:11 +08:00
Co-authored-by: 寇超 <kouchao@xindong.com>
This commit is contained in:
parent
7b7afc8f49
commit
3c8ff3aece
@ -13,7 +13,7 @@
|
||||
[nsInput.m('prefix')]: $slots.prefix || prefixIcon,
|
||||
[nsInput.m('suffix')]:
|
||||
$slots.suffix || suffixIcon || clearable || showPassword,
|
||||
[nsInput.m('suffix--password-clear')]: clearable && showPassword,
|
||||
[nsInput.m('suffix--password-clear')]: showClear && showPwdVisible,
|
||||
},
|
||||
$attrs.class,
|
||||
]"
|
||||
|
@ -106,6 +106,7 @@
|
||||
font-size: map.get($input-font-size, 'default');
|
||||
cursor: pointer;
|
||||
transition: var(--el-transition-color);
|
||||
margin-left: 8px;
|
||||
|
||||
&:hover {
|
||||
color: var(--el-input-clear-hover-color);
|
||||
@ -262,15 +263,15 @@
|
||||
);
|
||||
|
||||
@include m(suffix) {
|
||||
.#{$namespace}-input__inner {
|
||||
padding-right: $input-padding-size-with-extra-icon;
|
||||
}
|
||||
|
||||
@include m(password-clear) {
|
||||
.#{$namespace}-input__inner {
|
||||
padding-right: 55px;
|
||||
}
|
||||
}
|
||||
|
||||
.#{$namespace}-input__inner {
|
||||
padding-right: $input-padding-size-with-extra-icon;
|
||||
}
|
||||
}
|
||||
|
||||
@include m(prefix) {
|
||||
|
Loading…
Reference in New Issue
Block a user