Commit 199a5c5
committed
Fix main page horizontal scroll caused by Leaflet z-index override
The previous fix overrode .leaflet-pane z-index to 1, which broke
Leaflet's internal pane stacking (tiles, markers, popups need
z-indices 200-700). This caused the map to render incorrectly and
push content far beyond the viewport width.
Fix: removed the z-index override on individual panes. Instead,
set z-index:0 on the .leaflet-container itself to keep the entire
map below modals without breaking internal layout. Added overflow-
hidden on the map wrapper div for extra safety.1 parent 2c3ac7f commit 199a5c5
2 files changed
Lines changed: 5 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
261 | 256 | | |
262 | 257 | | |
263 | 258 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
0 commit comments