提交 720c7784 编写于 作者: 雪洛's avatar 雪洛

fix: 修复textarea组件word-break不生效的问题 askId: 95172

上级 0c14b8e2
...@@ -309,6 +309,8 @@ uni-textarea { ...@@ -309,6 +309,8 @@ uni-textarea {
position: relative; position: relative;
font-size: 16px; font-size: 16px;
line-height: normal; line-height: normal;
white-space: pre-wrap;
word-break: break-all;
} }
uni-textarea[hidden] { uni-textarea[hidden] {
display: none; display: none;
...@@ -339,8 +341,8 @@ uni-textarea[hidden] { ...@@ -339,8 +341,8 @@ uni-textarea[hidden] {
height: 100%; height: 100%;
left: 0; left: 0;
top: 0; top: 0;
white-space: pre-wrap; white-space: inherit;
word-break: break-all; word-break: inherit;
} }
.uni-textarea-placeholder { .uni-textarea-placeholder {
color: grey; color: grey;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册