Skip to content

Commit ccc16df

Browse files
committed
fix: set background color for unloaded map tile areas
1 parent 0f559ef commit ccc16df

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/main/resources/web/index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@
2323
* { margin: 0; padding: 0; box-sizing: border-box; }
2424
html, body { height: 100%; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg-color); }
2525

26-
#map { height: 100%; width: 100%; z-index: 1; }
26+
#map { height: 100%; width: 100%; z-index: 1; background: var(--bg-color); }
27+
28+
/* Leaflet container background for unloaded tile areas */
29+
.leaflet-container {
30+
background: var(--bg-color);
31+
}
2732

2833
/* Optimize map tile rendering to prevent pixel blur */
2934
.leaflet-tile {

0 commit comments

Comments
 (0)