mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
Merge pull request #9802 from allenve/master
fix: issue:9755:inputGroup下inputText icon 不显示
This commit is contained in:
commit
e4230031ee
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user