From 2bdbb681b95890ac960675923ed91b7ca20632e1 Mon Sep 17 00:00:00 2001 From: Light1YT Date: Mon, 22 Jun 2026 11:37:10 +0500 Subject: [PATCH] fix(site-finder/v2): move resource legend to bottom-left MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #1868 поместил ресурсную легенду в top-left карты, но там уже живёт встроенная POI-категорийная легенда от PticaMapInner (ЖК/Школы/Метро…) — они накладывались и были нечитаемы. Перенос ресурсной легенды в bottom-left (над Leaflet-attribution) разводит две легенды по разным углам. --- .../src/app/site-finder/analysis/[cad]/v2/v2.module.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/site-finder/analysis/[cad]/v2/v2.module.css b/frontend/src/app/site-finder/analysis/[cad]/v2/v2.module.css index 44c8b2ea..59c2be75 100644 --- a/frontend/src/app/site-finder/analysis/[cad]/v2/v2.module.css +++ b/frontend/src/app/site-finder/analysis/[cad]/v2/v2.module.css @@ -1910,11 +1910,13 @@ display: inline; } -/* Resource legend (top-left, under the map title) — compact 5-row panel. */ +/* Resource legend (bottom-left of the map card) — compact 5-row panel. + Placed bottom-left, above Leaflet attribution, to avoid overlap with the + existing PticaMapInner POI/category legend that lives in the top-left. */ .mapLegend { position: absolute; left: 11px; - top: 34px; + bottom: 28px; z-index: 6; min-width: 168px; max-width: 200px;