From: Anthony Talarico Date: Tue, 13 Dec 2016 13:40:01 +0000 (-0500) Subject: summary: adding error checking to the dropdown map hover X-Git-Tag: v1.0.0^2~79 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=2e2f2bb81110cc3b6a2daeba9e5be85d1ed685ec;p=WP-Themes%2Fmackinawareavb.git summary: adding error checking to the dropdown map hover detail: added try catch to make sure there are no undefined messages when hovering over a map section with no page id or data --- diff --git a/css/app.css b/css/app.css index 2b786f1..e89e6f6 100644 --- a/css/app.css +++ b/css/app.css @@ -6586,7 +6586,7 @@ body #interactive-map ul.map-dropdown { height: 100%; width: 100%; } body #interactive-map ul.map-dropdown #region-map-data a.map-title-link { - padding-left: 10px; + padding-left: 13px; display: inline-block; font-size: 1.4rem; font-weight: bold; @@ -6610,7 +6610,7 @@ body #interactive-map ul.map-dropdown { text-align: left; color: white; font-family: "Roboto", sans-serif; - margin-left: 10px; } + margin-left: 12px; } main { padding-bottom: 376px; } diff --git a/parts/interactive-map.php b/parts/interactive-map.php index 7bb20ec..44308e7 100644 --- a/parts/interactive-map.php +++ b/parts/interactive-map.php @@ -1,6 +1,6 @@