From ec8e4fc4587654721b5618d9c7ab1edb40b11161 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Fri, 20 Apr 2018 17:05:53 +0200 Subject: [PATCH] Make sure the channel list button stays always visible --- client/css/style.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/client/css/style.css b/client/css/style.css index e0450af5..27ebeedc 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -470,7 +470,13 @@ kbd { width: 36px; } +/* Channel list button stays fixed when scrolling... */ #viewport .lt { + position: fixed; +} + +/* ... Except on chat windows, relative to include the notification dot */ +#viewport #chat .lt { position: relative; } @@ -2286,6 +2292,11 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */ display: flex; } + /* On mobile display, channel list button stays at the top */ + #viewport .lt { + position: relative; + } + #chat .userlist { height: 100%; position: absolute;