parent
69576f47f4
commit
12418c6a72
4 changed files with 17 additions and 10 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -85,6 +85,7 @@
|
||||||
return [
|
return [
|
||||||
`${prefixCls}-wrapper`,
|
`${prefixCls}-wrapper`,
|
||||||
{
|
{
|
||||||
|
[`${prefixCls}-wrapper-${this.size}`]: !!this.size,
|
||||||
[`${prefixCls}-type`]: this.type,
|
[`${prefixCls}-type`]: this.type,
|
||||||
[`${prefixCls}-group`]: this.prepend || this.append,
|
[`${prefixCls}-group`]: this.prepend || this.append,
|
||||||
[`${prefixCls}-group-${this.size}`]: (this.prepend || this.append) && !!this.size
|
[`${prefixCls}-group-${this.size}`]: (this.prepend || this.append) && !!this.size
|
||||||
|
|
|
@ -9,20 +9,26 @@
|
||||||
}
|
}
|
||||||
&-icon {
|
&-icon {
|
||||||
width: 32px;
|
width: 32px;
|
||||||
height: 100%;
|
height: @input-height-base;
|
||||||
|
line-height: @input-height-base;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: @subsidiary-color;
|
color: @subsidiary-color;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
&:after{
|
}
|
||||||
content: '';
|
|
||||||
display: inline-block;
|
&-wrapper-large &-icon{
|
||||||
width: 0;
|
font-size: 18px;
|
||||||
height: 100%;
|
height: @input-height-large;
|
||||||
vertical-align: middle;
|
line-height: @input-height-large;
|
||||||
}
|
}
|
||||||
|
&-wrapper-small &-icon{
|
||||||
|
width: 24px;
|
||||||
|
font-size: 14px;
|
||||||
|
height: @input-height-small;
|
||||||
|
line-height: @input-height-small;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-icon + &{
|
&-icon + &{
|
||||||
|
|
Loading…
Add table
Reference in a new issue