From d39a7d2f968a4e424419079449c1ff2f7b929ae0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Hut?= Date: Tue, 7 Apr 2015 18:41:49 +0200 Subject: [PATCH] Fix: multiline text css --- public/css/otalk.css | 4 +++- public/css/pages/chat.styl | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/public/css/otalk.css b/public/css/otalk.css index 59fbefc..67ec4f9 100644 --- a/public/css/otalk.css +++ b/public/css/otalk.css @@ -1436,10 +1436,12 @@ button.secondary:hover:not(:disabled) { visibility: hidden; } .messages .message .body { - display: inline; + display: inline-block; word-break: break-word; position: relative; left: -60px; + margin: 0; + padding: 0; } .messages .message .body .mention { color: #ec008c; diff --git a/public/css/pages/chat.styl b/public/css/pages/chat.styl index 263c5fe..4365812 100644 --- a/public/css/pages/chat.styl +++ b/public/css/pages/chat.styl @@ -461,10 +461,12 @@ visibility: hidden .body - display: inline + display: inline-block word-break: break-word position: relative left: -60px + margin: 0 + padding: 0 .mention color: $pink