From 7d29d62981f70971b5bd4806b15e566b924fb5c2 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Wed, 11 Nov 2015 10:22:19 +0100 Subject: [PATCH] fix line wrap in chat messages --- public/assets/chat/style.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/assets/chat/style.scss b/public/assets/chat/style.scss index 39be56372..78f84883f 100644 --- a/public/assets/chat/style.scss +++ b/public/assets/chat/style.scss @@ -208,7 +208,8 @@ $baseTextColor: if($luminance < 0.2, white, black); background: desaturate(lightenMax($themeColor, 50%, 97%), 50%); display: inline-block; max-width: 70%; - white-space: pre; + white-space: pre-line; + word-wrap: break-word; box-shadow: 0 2px rgba(255,255,255,.15) inset, 0 0 0 1px rgba(0,0,0,.08) inset,