From: Anton Khorev Date: Wed, 21 Sep 2022 13:50:14 +0000 (+0300) Subject: Change map ui sidebar height together with map height X-Git-Tag: live~1930^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/cfc9a8fe03e283e12e40de82f510078b148f84bf?hp=f6a5b6084c73337092b3926ca9c6300a9cf283c8 Change map ui sidebar height together with map height --- 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; - } } }