From f3d3441d02afdb83a082c292a5f53d0c08412835 Mon Sep 17 00:00:00 2001 From: Emmanuel ROHEE Date: Mon, 15 Sep 2014 10:22:57 +0200 Subject: Use "white-space: pre-wrap" for "Text will wrap when necessary, and on line breaks" --- webclient/app.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/webclient/app.css b/webclient/app.css index 064f626f0b..4a4ba7b8f4 100755 --- a/webclient/app.css +++ b/webclient/app.css @@ -528,9 +528,8 @@ a:active { color: #000; } } .bubble .message { - /* Break lines when encountering CR+LF */ - /* FIXME: this breaks wordwrapping. We need to s#CRLF#
#g instead */ -/* white-space: pre; */ + /* Wrap words and break lines on CR+LF */ + white-space: pre-wrap; } .bubble .messagePending { opacity: 0.3 -- cgit 1.4.1