diff --git a/web/static/app.js b/web/static/app.js index ac3b35d6..6b5bf13c 100644 --- a/web/static/app.js +++ b/web/static/app.js @@ -37,6 +37,11 @@ function initMap() { subdomains: "abcd", maxZoom: 19, }).addTo(map); + + // Close panel and clear selection when clicking on empty map space + map.on("click", () => { + closePanel(); + }); } // ────────────────────────────────────────────────────────── diff --git a/web/static/style.css b/web/static/style.css index 4938dbe9..3686bc22 100644 --- a/web/static/style.css +++ b/web/static/style.css @@ -936,7 +936,16 @@ body { } /* ── Responsive ── */ -@media (max-width: 900px) { +@media (max-width: 1100px) { + :root { + --panel-width: 460px; + } + .hero-value { + font-size: 52px; + } +} + +@media (max-width: 768px) { .city-list { display: none; }