From 38a8132397ba94e9fe856930be70c24334fe4209 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 26 Jun 2019 22:43:59 +0200 Subject: [PATCH] fix narrow layout --- src/ui/web/css/layout.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/ui/web/css/layout.css b/src/ui/web/css/layout.css index 55f9b4f9..e77a9570 100644 --- a/src/ui/web/css/layout.css +++ b/src/ui/web/css/layout.css @@ -21,11 +21,12 @@ body { /* mobile layout */ @media screen and (max-width: 800px) { - .back { display: block !important; } - .RoomView, .RoomPlaceholderView { display: none; } - .room-shown .RoomView { display: unset; } - .room-shown .LeftPanel { display: none; } - .right-shown .TimelinePanel { display: none; } + div.back { display: block !important; } + div.RoomView, div.RoomPlaceholderView { display: none; } + div.LeftPanel {flex-grow: 1;} + div.room-shown div.RoomView { display: unset; } + div.room-shown div.LeftPanel { display: none; } + div.right-shown div.TimelinePanel { display: none; } } .LeftPanel {