diff --git a/static/css/sass/_content_map.scss b/static/css/sass/_content_map.scss index 7749496c6db245a873f23ec5cedd327e1f6bfe2e..1a31bc0ab13cb5642bcc3fdd0e4f219bf8ee545e 100644 --- a/static/css/sass/_content_map.scss +++ b/static/css/sass/_content_map.scss @@ -25,10 +25,6 @@ //START ***** Block //************************************************** -#map { - dislay: none; -} - #map-checkbox-wrapper { display: none; } @@ -66,6 +62,12 @@ #map { width: 100%; height: 400px; + margin: auto; + + @media (max-height: 450px) { + height: 200px; + width: 75%; + } } #map img { diff --git a/static/css/usta.css b/static/css/usta.css index 41bf77c744deb9fa2dd838f4e88667b840eb814c..945215fe13869d2335e1a4ea2f7e014d523a1dd2 100644 --- a/static/css/usta.css +++ b/static/css/usta.css @@ -1712,9 +1712,6 @@ nav img { padding-top: 30px; padding-bottom: 30px; } } -#map { - dislay: none; } - #map-checkbox-wrapper { display: none; } @@ -1725,7 +1722,12 @@ nav img { #map { width: 100%; - height: 400px; } + height: 400px; + margin: auto; } + @media (max-height: 450px) { + #map { + height: 200px; + width: 75%; } } #map img { max-height: none; } diff --git a/usta/templates/usta/map.html b/usta/templates/usta/map.html index 286fa605d83bae0f32839fbc80269f99f08e3b8b..f1203dcdd0447d00912818d5daa04107ea829edf 100644 --- a/usta/templates/usta/map.html +++ b/usta/templates/usta/map.html @@ -229,7 +229,8 @@ function clearMarkers() { function initMap() { map = new google.maps.Map(document.getElementById('map'), { center: {{ map_center }}, - zoom: 10 + zoom: 10, + fullscreenControl: true }); var infoWindow = new google.maps.InfoWindow({