Commit 460a885
committed
Expanded CSS selectors in index.html:37-54: Added aggressive selectors including body.cursor-crosshair * as a catch-all, plus specific Leaflet classes like .leaflet-grabbing, .leaflet-overlay-pane, .leaflet-tile-pane, .leaflet-tile, .leaflet-proxy, and .leaflet-zoom-animated. Also added a separate .leaflet-crosshair class that gets applied directly to the Leaflet container.
Direct Leaflet container targeting in index.js:311-329: The updateMapCursor() function now also adds/removes a leaflet-crosshair class directly to the Leaflet map container via state.photoMap.getContainer(). This provides maximum CSS specificity by targeting the container itself.1 parent 7da00a4 commit 460a885
2 files changed
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
| 42 | + | |
39 | 43 | | |
40 | 44 | | |
| 45 | + | |
41 | 46 | | |
42 | 47 | | |
43 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
44 | 56 | | |
45 | 57 | | |
46 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
320 | 324 | | |
321 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
322 | 329 | | |
323 | 330 | | |
324 | 331 | | |
| |||
0 commit comments