chore: add grey background to body on map page to prevent blinking

Otherwise the DOM loads and create a white script before the JS is
parsed and ready to display the map. This is due to using modules
and scripts in defer mode.
This commit is contained in:
Yohan Boniface 2024-01-22 14:35:44 +01:00
parent 7729035288
commit 7ae742ca70

View file

@ -9,6 +9,11 @@
bottom: 0;
left: 0;
right: 0;
/*
* Same as leaflet background, to work around screen blincking
* between DOM is loaded and JS is read to render the map.
*/
background-color: #ddd;
}