From aac5c188e3dda8b22d5e5fb13f35815fcd31ef10 Mon Sep 17 00:00:00 2001 From: "Karen A. Salamy" Date: Mon, 20 May 2024 19:27:21 -0700 Subject: [PATCH] Git View updates and fixes. --- smdb/smdb/static/css/map.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/smdb/smdb/static/css/map.css b/smdb/smdb/static/css/map.css index de230b98..3817e10a 100644 --- a/smdb/smdb/static/css/map.css +++ b/smdb/smdb/static/css/map.css @@ -2,7 +2,7 @@ html, body { height: 100%; min-height: 100%; - overflow: scroll; + overflow: hidden; margin: 0; height: 100vh; font-family: "Roboto", sans-serif !important; @@ -11,8 +11,10 @@ body { #map { width: 100%; - height: 85%; - padding-top: 10%; + /* The following line is important for fitting map onto map-pane and zooming out*/ + height: 85% !important; + top: 165px; + position: relative; /*margin-left: 250px; - Testing with new proSidebar*/ } @@ -31,4 +33,4 @@ body { .leaflet-control>.leaflet-sidebar-topleft { width: 250px !important; -} \ No newline at end of file +}