Input add show-word-limit prop
This commit is contained in:
parent
3f8cb7fd31
commit
95d0f5ea7e
2 changed files with 38 additions and 1 deletions
|
@ -164,6 +164,27 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-word-count{
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
right: @input-padding-horizontal;
|
||||
top: 1px;
|
||||
bottom: 1px;
|
||||
padding-left: @input-padding-horizontal;
|
||||
background: #fff;
|
||||
z-index: 1;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
color: @subsidiary-color;
|
||||
font-size: @font-size-small;
|
||||
&-inner{
|
||||
display: inline-block;
|
||||
background: #fff;
|
||||
line-height: normal;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.@{input-prefix-cls}-group{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue