From 7b725ea55c2ed75d9fc8bfb03dd898a1564c5901 Mon Sep 17 00:00:00 2001 From: Roni Laukkarinen Date: Sun, 17 Apr 2022 13:39:52 +0300 Subject: [PATCH 1/2] Fix the alignment of the header buttons --- client/css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/css/style.css b/client/css/style.css index 864451f7..d7459a35 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -613,7 +613,6 @@ p { line-height: 1; height: 36px; width: 36px; - margin-top: 6px; flex-shrink: 0; } @@ -1061,6 +1060,7 @@ textarea.input { } .header { + align-items: center; line-height: 45px; height: 45px; padding: 0 6px; From ec757c9b69a5f9c4461c997d5b5449dc9d777a3c Mon Sep 17 00:00:00 2001 From: Roni Laukkarinen Date: Sun, 17 Apr 2022 19:07:56 +0300 Subject: [PATCH 2/2] 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%;