From f86d5aa495ff00e4eb9da488885e3291a3d1f2f5 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 2 Aug 2014 18:37:29 +0200 Subject: [PATCH] fix #1977 --- web/app/assets/stylesheets/client/sidebar.css.scss | 9 +++++++++ web/app/views/clients/_sidebar.html.erb | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/web/app/assets/stylesheets/client/sidebar.css.scss b/web/app/assets/stylesheets/client/sidebar.css.scss index ff21873e4..f934b0cf3 100644 --- a/web/app/assets/stylesheets/client/sidebar.css.scss +++ b/web/app/assets/stylesheets/client/sidebar.css.scss @@ -312,5 +312,14 @@ .more-text-available { } } + .wrapword{ + white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* css-3 */ + word-wrap: break-word; /* Internet Explorer 5.5+ */ + word-break: break-all; + white-space: normal; + } } diff --git a/web/app/views/clients/_sidebar.html.erb b/web/app/views/clients/_sidebar.html.erb index 22e525d56..a0b37fe1f 100644 --- a/web/app/views/clients/_sidebar.html.erb +++ b/web/app/views/clients/_sidebar.html.erb @@ -105,7 +105,7 @@ Chat is available when in session.
-
+