🐛 Fix collapsed map container caused by CSS load order #2
Loading…
Reference in a new issue
No description provided.
Delete branch "fix-map-container-height"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
maplibre-gl.csssets.maplibregl-map { position: relative; overflow: hidden }. Loaded afterapp.css, it overrides.map { position: absolute; inset: 0 }(same specificity, later wins), collapsing the map container to 0 px height — tiles download fine but nothing renders. Loading MapLibre's CSS first lets our rule win.Evidence
main:Expected: 720, Received: 0(.mapbounding box).After: 17/17 unit tests, svelte-check clean, 3/3 e2e.
Merge Danger
Door: two-way (single-line revert).
Blast Radius: map rendering only — restores the full-screen map; no API, proxy or build changes.
WIP: 🐛 Fix collapsed map container caused by CSS load orderto 🐛 Fix collapsed map container caused by CSS load order