From f76766a654f49292dbc055c2d85d6aaee9859b58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Tue, 28 Jan 2020 13:24:15 -0500 Subject: [PATCH] https://github.com/NodeBB/NodeBB/issues/8043 --- less/chats.less | 7 +++++++ templates/chat.tpl | 18 +++++++++--------- templates/partials/chats/message-window.tpl | 18 +++++++++--------- 3 files changed, 25 insertions(+), 18 deletions(-) diff --git a/less/chats.less b/less/chats.less index f06011a..de9b7d2 100644 --- a/less/chats.less +++ b/less/chats.less @@ -231,6 +231,13 @@ overflow: hidden; text-overflow: ellipsis; display: block; + [component="chat/title"] { + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + max-width: 350px; + display: inline-block; + } } .teaser-content, .room-name { diff --git a/templates/chat.tpl b/templates/chat.tpl index f7bf47a..41e7c34 100644 --- a/templates/chat.tpl +++ b/templates/chat.tpl @@ -9,15 +9,6 @@ diff --git a/templates/partials/chats/message-window.tpl b/templates/partials/chats/message-window.tpl index 66b4134..3e26aad 100644 --- a/templates/partials/chats/message-window.tpl +++ b/templates/partials/chats/message-window.tpl @@ -7,15 +7,6 @@