From 01a6c7ac225253b7a53435f0fdf8b84ab2c5188c Mon Sep 17 00:00:00 2001 From: Maximilian Mader Date: Thu, 23 Aug 2018 00:07:37 +0200 Subject: [PATCH] Improve sidebar behaviour in Chrome --- files/style/be.bastelstu.chat.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/files/style/be.bastelstu.chat.scss b/files/style/be.bastelstu.chat.scss index fcdcda5..a97e117 100644 --- a/files/style/be.bastelstu.chat.scss +++ b/files/style/be.bastelstu.chat.scss @@ -4,7 +4,7 @@ * Use of this software is governed by the Business Source License * included in the LICENSE file. * - * Change Date: 2022-08-22 + * Change Date: 2022-08-23 * * On the date above, in accordance with the Business Source * License, use of this software will be governed by version 2 @@ -51,12 +51,6 @@ #tpl_chat_log { } } - @include screen-sm-up { - .sidebar { - overflow-y: auto; - } - } - @include screen-sm-md { .main > .layoutBoundary { flex-direction: row !important; @@ -94,7 +88,7 @@ #tpl_chat_log { } > .boxContainer { - flex: 1 1 0px; + flex: 1 1 auto; > .box { &.chatUserList { @@ -581,6 +575,12 @@ html.fullscreen { } } + @include screen-sm-up { + .sidebar { + overflow-y: auto; + } + } + // The to top button is clickable even when invisible and may lay over the chat input // This button is unnecessary in the chat, therefore we hide it completely. // If necessary, we should change the selector to .toTop[aria-hidden="true"].