fix: add word-wrap for long text in messages
This commit is contained in:
parent
5e38284bfd
commit
5d9def5381
@ -119,6 +119,11 @@ const indexHTML = `<!DOCTYPE html>
|
|||||||
color: #c0caf5;
|
color: #c0caf5;
|
||||||
line-height: 1.7;
|
line-height: 1.7;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
word-wrap: break-word;
|
||||||
|
overflow-wrap: break-word;
|
||||||
|
}
|
||||||
|
.message-user .message-content {
|
||||||
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
.message-content p {
|
.message-content p {
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user