From 2e2f2bb81110cc3b6a2daeba9e5be85d1ed685ec Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 13 Dec 2016 08:40:01 -0500 Subject: [PATCH] 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 --- css/app.css | 4 ++-- parts/interactive-map.php | 41 +++++++++++++++++++++++++-------------- scss/_topbar.scss | 4 ++-- 3 files changed, 30 insertions(+), 19 deletions(-) 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 @@