This commit is contained in:
梁灏 2020-10-10 10:07:18 +08:00
parent f06997e18c
commit bcff25e73c
2 changed files with 5 additions and 1 deletions

View file

@ -239,7 +239,8 @@
[`${prefixCls}-group-with-prepend`]: this.prepend, [`${prefixCls}-group-with-prepend`]: this.prepend,
[`${prefixCls}-group-with-append`]: this.append || (this.search && this.enterButton), [`${prefixCls}-group-with-append`]: this.append || (this.search && this.enterButton),
[`${prefixCls}-hide-icon`]: this.append, // #554 [`${prefixCls}-hide-icon`]: this.append, // #554
[`${prefixCls}-with-search`]: (this.search && this.enterButton) [`${prefixCls}-with-search`]: (this.search && this.enterButton),
[`${prefixCls}-wrapper-disabled`]: this.itemDisabled // #685
} }
]; ];
}, },

View file

@ -179,6 +179,9 @@
color: @subsidiary-color; color: @subsidiary-color;
font-size: @font-size-small; font-size: @font-size-small;
} }
&-wrapper-disabled &-word-count{
background: @input-disabled-bg;
}
&-type-textarea &-word-count{ &-type-textarea &-word-count{
align-items: flex-end; align-items: flex-end;
top: auto; top: auto;