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
1 changed files with 18 additions and 1 deletions

View File

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