Input add show-word-limit prop

This commit is contained in:
梁灏 2019-09-14 12:15:51 +08:00
parent 3f8cb7fd31
commit 95d0f5ea7e
2 changed files with 38 additions and 1 deletions

View file

@ -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{