1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-21 21:30:08 +00:00

Improve sidebar behaviour in Chrome

This commit is contained in:
Maximilian Mader 2018-08-23 00:07:37 +02:00
parent f94d237361
commit 01a6c7ac22
Signed by: Max
GPG Key ID: F71D56A3151C4FB3

View File

@ -4,7 +4,7 @@
* Use of this software is governed by the Business Source License * Use of this software is governed by the Business Source License
* included in the LICENSE file. * 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 * On the date above, in accordance with the Business Source
* License, use of this software will be governed by version 2 * 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 { @include screen-sm-md {
.main > .layoutBoundary { .main > .layoutBoundary {
flex-direction: row !important; flex-direction: row !important;
@ -94,7 +88,7 @@ #tpl_chat_log {
} }
> .boxContainer { > .boxContainer {
flex: 1 1 0px; flex: 1 1 auto;
> .box { > .box {
&.chatUserList { &.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 // 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. // This button is unnecessary in the chat, therefore we hide it completely.
// If necessary, we should change the selector to .toTop[aria-hidden="true"]. // If necessary, we should change the selector to .toTop[aria-hidden="true"].