From ec757c9b69a5f9c4461c997d5b5449dc9d777a3c Mon Sep 17 00:00:00 2001 From: Roni Laukkarinen Date: Sun, 17 Apr 2022 19:07:56 +0300 Subject: [PATCH] Fix topic wrapping on mobile --- client/css/style.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/client/css/style.css b/client/css/style.css index d7459a35..314460e2 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -2913,8 +2913,6 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */ /* Correctly handle multiple successive whitespace characters. For example: user has quit ( ===> L O L <=== ) */ - -.header .topic, #chat .msg[data-type="action"] .content, #chat .msg[data-type="message"] .content, #chat .msg[data-type="monospace_block"] .content, @@ -2922,11 +2920,15 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */ #chat .ctcp-message, #chat .part-reason, #chat .quit-reason, -#chat .new-topic, -#chat table.channel-list .topic { +#chat .new-topic { white-space: pre-wrap; } +#chat table.channel-list .topic, +.header .topic { + white-space: nowrap; +} + .chat-view[data-type="search-results"] .search-status { display: flex; height: 100%;