diff --git a/app/src/frontend/legend.css b/app/src/frontend/legend.css index 694091fd..7eb669b8 100644 --- a/app/src/frontend/legend.css +++ b/app/src/frontend/legend.css @@ -6,7 +6,7 @@ position: absolute; bottom: 55px; right: 10px; - min-width: 7rem; + min-width: 12rem; float: right; background: white; border-radius: 4px; @@ -24,10 +24,14 @@ bottom: 24px; } } -.map-legend h4, +.map-legend .h4, +.map-legend p, .data-legend { padding: 0 0.5rem; } +.map-legend p { + margin: 0.25rem 0 0.5rem; +} .data-legend { max-height: 30rem; overflow-y: auto; diff --git a/app/src/frontend/legend.js b/app/src/frontend/legend.js index 4c4a31b3..eeb3d6cf 100644 --- a/app/src/frontend/legend.js +++ b/app/src/frontend/legend.js @@ -106,6 +106,24 @@ const Legend = (props) => { const elements = details.elements; return (
{details.description}
+ : null + } + { + elements.length? + (Coming soon…
) + } +Coming soon…
) - }