From cfc9a8fe03e283e12e40de82f510078b148f84bf Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 21 Sep 2022 16:50:14 +0300 Subject: [PATCH] Change map ui sidebar height together with map height --- app/assets/stylesheets/common.scss | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 6d73ffb7e..77b87f878 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -522,6 +522,13 @@ body.small-nav { height: 50%; } + #map-ui { + z-index: 9999; + width: 100%; + height: 50%; + overflow-y: scroll; + } + .overlay-sidebar { #sidebar { position: absolute; @@ -530,16 +537,10 @@ body.small-nav { overflow: hidden; } - #map { + #map, #map-ui { height: 100%; } } - - #map-ui { - z-index: 9999; - width: 100%; - overflow-y: scroll; - } } } -- 2.43.2