From ca6ba7f2171ea06fade0b80e2d0b8ab120546250 Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Mon, 3 Feb 2020 22:21:55 +0000 Subject: [PATCH] Colour logo in legend --- app/src/frontend/map/legend.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/frontend/map/legend.tsx b/app/src/frontend/map/legend.tsx index 06e4c9cd..3195a7af 100644 --- a/app/src/frontend/map/legend.tsx +++ b/app/src/frontend/map/legend.tsx @@ -172,7 +172,6 @@ class Legend extends React.Component { this.setState({collapseList: (e.target.outerHeight < 670 || e.target.outerWidth < 768)}); // magic number needs to be consistent with CSS expander-button media query } - render() { const details = LEGEND_CONFIG[this.props.slug] || {}; const title = details.title || ""; @@ -180,7 +179,7 @@ class Legend extends React.Component { return (
- +

{ title }