From 7be3e2616103b7e6528742931bb34d27fd754fd9 Mon Sep 17 00:00:00 2001 From: MarekWo Date: Mon, 29 Jun 2026 09:31:35 +0200 Subject: [PATCH] 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. --- app/static/css/style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/static/css/style.css b/app/static/css/style.css index 6f8f53d..539d3d6 100644 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -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;