优化markdown渲染

This commit is contained in:
2025-12-29 19:06:45 +08:00
parent 4b6cb726d2
commit d0f133613d
4 changed files with 46 additions and 20 deletions

View File

@@ -337,6 +337,17 @@
word-wrap: break-word;
}
// rich-text 组件样式(用于 Markdown 渲染)
.message-rich-text {
font-size: 14px;
line-height: 1.5;
word-wrap: break-word;
word-break: break-word;
overflow-wrap: break-word;
white-space: normal;
max-width: 100%;
}
.message-time {
font-size: 11px;
color: #999999;