From cc03827f937e0cbc1654fd5e67d55c45e092007e Mon Sep 17 00:00:00 2001 From: mrfry Date: Tue, 1 Jun 2021 09:27:21 +0200 Subject: [PATCH] chat message width / word break fix --- src/pages/chat.module.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/chat.module.css b/src/pages/chat.module.css index 6aa44cc..9efc398 100644 --- a/src/pages/chat.module.css +++ b/src/pages/chat.module.css @@ -107,7 +107,7 @@ .messages { display: flex; flex-flow: column; - word-break: break-all; + overflow-wrap: break-word; padding: 5px 0px; overflow-x: none; @@ -131,7 +131,6 @@ display: flex; margin: 2px 10px; - max-width: 300px; } .messageContainer img { @@ -172,6 +171,7 @@ padding: 5px 8px; border-radius: 4px; color: black; + max-width: 400px; } .sendButton {