GlTextarea.wxss
650 Bytes
/* components/glTextarea/glTextarea.wxss */
.textarea-box {
width: 100%;
min-height: var(--fontSize120);
position: relative;
height: 100%;
}
.textarea-box .textarea {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow-y: scroll;
line-height: var(--fontSize38);
font-size: var(--fontSize32);
word-break: break-all;
}
._textarea_ {
width: 100%;
font-size: var(--fontSize32);
color: #333333;
height: calc(100% - var(--fontSize40));
}
.textarea-box.showWordLimit .textarea {
height: calc(100% - var(--fontSize40));
}
.wordLimit {
position: absolute;
bottom: 0;
right: 0;
color: #999;
}