fix: add word-wrap for long text in messages

This commit is contained in:
大森 2026-05-10 15:37:50 +08:00
parent 5e38284bfd
commit 5d9def5381

View File

@ -119,6 +119,11 @@ const indexHTML = `<!DOCTYPE html>
color: #c0caf5;
line-height: 1.7;
font-size: 14px;
word-wrap: break-word;
overflow-wrap: break-word;
}
.message-user .message-content {
white-space: pre-wrap;
}
.message-content p {
margin-bottom: 12px;