From 64abe3238edc3d6cb71bbc799006ec15c43e6d60 Mon Sep 17 00:00:00 2001 From: Wyatt Pearsall Date: Tue, 24 Nov 2020 09:50:11 -0800 Subject: [PATCH] update popup styling to be more clear --- src/data-browser/maps/MapsGraphs.css | 4 ++++ src/data-browser/maps/popupUtils.jsx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/data-browser/maps/MapsGraphs.css b/src/data-browser/maps/MapsGraphs.css index 33b6478e2..cd3afa54d 100644 --- a/src/data-browser/maps/MapsGraphs.css +++ b/src/data-browser/maps/MapsGraphs.css @@ -14,6 +14,10 @@ margin: 0; } +.mapboxgl-ctrl-logo { + display: none !important; +} + .legend { position: absolute; bottom: 20px; diff --git a/src/data-browser/maps/popupUtils.jsx b/src/data-browser/maps/popupUtils.jsx index 2eca4a424..c53364bc1 100644 --- a/src/data-browser/maps/popupUtils.jsx +++ b/src/data-browser/maps/popupUtils.jsx @@ -14,7 +14,7 @@ const popup = new mapbox.Popup({ }) function buildPopupHTML(geography, feature, origPer1000){ - return '

' + feature + ' - ' + getFeatureName(geography, feature) + (origPer1000 !== undefined ? ` - ${origPer1000}` : '') + '

' + return '

' + getFeatureName(geography, feature) + (origPer1000 !== undefined ? ` - ${origPer1000} per 1000 people` : '') + '

' } function getFeatureName(geography, feature){