From 00631d7349c7fd87d0ec8f430a393a538699994c Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Fri, 15 Jan 2021 19:43:16 +0100 Subject: [PATCH] hide map overlay until map is loaded --- htdocs/css/map.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/htdocs/css/map.css b/htdocs/css/map.css index de6ef3e..44601e0 100644 --- a/htdocs/css/map.css +++ b/htdocs/css/map.css @@ -25,12 +25,19 @@ ul { padding-inline-start: 25px; } +/* don't show the filter in it's initial position */ .openwebrx-map-legend { + display: none; background-color: #fff; padding: 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 { list-style-type: none; padding: 0;