hide map overlay until map is loaded

This commit is contained in:
Jakob Ketterl 2021-01-15 19:43:16 +01:00
parent 163ebcd327
commit 00631d7349

View File

@ -25,12 +25,19 @@ ul {
padding-inline-start: 25px; padding-inline-start: 25px;
} }
/* don't show the filter in it's initial position */
.openwebrx-map-legend { .openwebrx-map-legend {
display: none;
background-color: #fff; background-color: #fff;
padding: 10px; padding: 10px;
margin: 10px; margin: 10px;
} }
/* show it as soon as google maps has moved it to its container */
.openwebrx-map .openwebrx-map-legend {
display: block;
}
.openwebrx-map-legend ul { .openwebrx-map-legend ul {
list-style-type: none; list-style-type: none;
padding: 0; padding: 0;