Compare commits

...

2 commits

Author SHA1 Message Date
878200934a Merge pull request 'fix(site-finder/v2): move resource legend to bottom-left (no overlap with POI legend)' (#1869) from fix/v2-map-legend-position into main
All checks were successful
Deploy / changes (push) Successful in 8s
Deploy / build-backend (push) Has been skipped
Deploy / build-worker (push) Has been skipped
Deploy / build-frontend (push) Successful in 3m15s
Deploy / deploy (push) Successful in 1m12s
2026-06-22 06:39:35 +00:00
2bdbb681b9 fix(site-finder/v2): move resource legend to bottom-left
All checks were successful
CI / changes (pull_request) Successful in 8s
CI / backend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Successful in 1m49s
CI / frontend-tests (pull_request) Successful in 53s
PR #1868 поместил ресурсную легенду в top-left карты, но там уже живёт
встроенная POI-категорийная легенда от PticaMapInner (ЖК/Школы/Метро…) —
они накладывались и были нечитаемы. Перенос ресурсной легенды в bottom-left
(над Leaflet-attribution) разводит две легенды по разным углам.
2026-06-22 11:37:10 +05:00

View file

@ -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;