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:
parent
7729035288
commit
7ae742ca70
1 changed files with 5 additions and 0 deletions
|
@ -9,6 +9,11 @@
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue