mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-07-27 12:02:38 +02:00
fix(dm): preserve line breaks in sender's own DM message bubbles
.dm-content was missing white-space: pre-wrap, unlike .message-content in the group chat, so multi-line DMs collapsed to one line on the sender's own screen even though the recipient saw them correctly.
This commit is contained in:
@@ -820,6 +820,12 @@ main {
|
||||
border: 1px solid var(--msg-border);
|
||||
}
|
||||
|
||||
.dm-content {
|
||||
margin: 0;
|
||||
white-space: pre-wrap;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
/* DM Message Metadata */
|
||||
.dm-meta {
|
||||
font-size: 0.75rem;
|
||||
|
||||
Reference in New Issue
Block a user