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

Slight improvements to the sidebar content

This commit is contained in:
Maximilian Mader 2022-08-10 21:47:00 +02:00
parent 4c6a8e8326
commit 016c2d7090
Signed by: Max
GPG Key ID: F71D56A3151C4FB3

View File

@ -78,6 +78,10 @@ #tpl_chat_log {
columns: 1; columns: 1;
margin-bottom: 0; margin-bottom: 0;
> .box {
border-bottom: none;
}
} }
} }
} }
@ -99,6 +103,7 @@ #tpl_chat_log {
} }
> .boxContainer { > .boxContainer {
overflow: auto;
flex: 1 1 auto; flex: 1 1 auto;
> .box { > .box {
@ -106,15 +111,27 @@ #tpl_chat_log {
flex: 2 0 0px; flex: 2 0 0px;
min-height: 15rem; min-height: 15rem;
html.fullscreen & {
flex: 1 1 content;
}
> .boxContent { > .boxContent {
flex-basis: 6rem; flex-basis: 6rem;
} }
} }
&[data-box-identifier='be.bastelstu.chat.roomListSidebar'] { &[data-box-identifier='be.bastelstu.chat.roomListSidebar'] {
flex: 1 1 0px; flex: 1 1 12rem;
min-height: 12rem; min-height: 12rem;
html.fullscreen & {
flex: 1 1 content;
}
@media screen and (max-height: 440px) {
min-height: 120px;
}
.badge { .badge {
float: right; float: right;
padding-left: 7px; padding-left: 7px;