From 0f65ef0e28058ba162cc8f18434da774af5ecbe4 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Thu, 11 Feb 2016 18:45:09 +0000 Subject: [PATCH] Added pre-wrap for messages Closes #930 --- app/less/app.less | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/less/app.less b/app/less/app.less index 9d44e6de..f0758772 100644 --- a/app/less/app.less +++ b/app/less/app.less @@ -2228,14 +2228,16 @@ a.im_message_fwd_photo { .im_message_text { word-wrap: break-word; line-height: 150%; + white-space: pre-wrap; } .im_message_photo_caption, .im_message_video_caption, .im_message_document_caption { + margin-top: 3px; clear: both; word-wrap: break-word; line-height: 150%; - margin-top: 3px; + white-space: pre-wrap; } .im_message_mymention { background: #fff8cc;