Merge pull request #9802 from allenve/master

fix: issue:9755:inputGroup下inputText icon 不显示
This commit is contained in:
Allen 2024-03-14 15:38:22 +08:00 committed by GitHub
commit e4230031ee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,10 +1,6 @@
.#{$ns}TextControl { .#{$ns}TextControl {
@include input-text(); @include input-text();
.InputText-clear {
content: var(--input-clearable-icon);
}
&-clear { &-clear {
padding: 0 var(--Form-input-clearBtn-padding); padding: 0 var(--Form-input-clearBtn-padding);
} }
@ -496,6 +492,10 @@
} }
} }
.InputText-clear.icon {
content: var(--input-clearable-icon);
}
// 特殊处理 input-password否则 form 内联模式icon 会换行 // 特殊处理 input-password否则 form 内联模式icon 会换行
input.#{$ns}TextControl-input-password { input.#{$ns}TextControl-input-password {
flex-basis: 0; flex-basis: 0;