mirror of
https://gitee.com/lijingbo-2021/open-anylink-web.git
synced 2025-12-30 02:52:26 +00:00
消息编辑和消息显示换行
This commit is contained in:
@@ -409,6 +409,9 @@ defineExpose({
|
||||
padding-left: 16px;
|
||||
font-size: 14px;
|
||||
background-color: #fff;
|
||||
white-space: pre-wrap; /* 允许换行 */
|
||||
word-break: break-word; /* 长单词或URL强制换行 */
|
||||
overflow-wrap: break-word; /* 兼容性更好的换行 */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -878,6 +878,8 @@ watch(
|
||||
border-top-right-radius: 0;
|
||||
user-select: text;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word; /* 长单词或URL强制换行 */
|
||||
overflow-wrap: break-word; /* 兼容性更好的换行 */
|
||||
}
|
||||
|
||||
.my-message-status {
|
||||
|
||||
Reference in New Issue
Block a user