Remove css assumption

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-06-24 14:52:48 +05:30
parent e2fd90bdc2
commit a273b25bac

View file

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