Make side-bar responsive

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-05-26 22:23:09 +05:30
parent 9ac415fa4f
commit eab6ca3baf

View File

@ -72,7 +72,7 @@ the layout viewport up without resizing it when the keyboard shows */
.middle .close-middle { display: none; }
/* mobile layout */
@media screen and (max-width: 800px) {
.SessionView:not(.middle-shown) {
.SessionView:not(.middle-shown, .SideBarActive) {
grid-template:
"status" auto
"left" 1fr /
@ -86,8 +86,17 @@ the layout viewport up without resizing it when the keyboard shows */
1fr;
}
.SessionView.SideBarActive{
grid-template:
"status" auto
"right" 1fr /
1fr;
}
.SessionView:not(.middle-shown) .room-placeholder { display: none; }
.SessionView.middle-shown .LeftPanel { display: none; }
.SessionView.SideBarActive .middle { display: none; }
/* show back button */
.middle .close-middle { display: block !important; }