【修改】字符限制的样式

This commit is contained in:
zhoulingpo
2023-04-28 09:41:59 +08:00
parent d366c311c9
commit 6cecf25005
2 changed files with 22 additions and 2 deletions
+20
View File
@@ -62,4 +62,24 @@
border-radius: 10px;
background-color: red;
}
.showLimit {
//.el-input__count {
// position: absolute;
// bottom: 5px; /* 调整位置 */
// right: 5px; /* 调整位置 */
//}
.el-input__inner{
padding-right: 60px; /* 留出word-limit显示的空间 */
}
.el-textarea__inner{
padding-bottom: 30px;
}
.el-textarea .el-input__count{
width: 92%;
text-align: right;
bottom: 0.5px;
right: 28px;
}
}