Colour logo in legend

This commit is contained in:
Tom Russell 2020-02-03 22:21:55 +00:00
parent d19eb4a31a
commit ca6ba7f217

View File

@ -172,7 +172,6 @@ class Legend extends React.Component<LegendProps, LegendState> {
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<LegendProps, LegendState> {
return (
<div className="map-legend">
<Logo variant='gray' />
<Logo variant="default" />
<h4 className="h4">
{ title }
</h4>