aboutsummaryrefslogtreecommitdiffstats
path: root/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'style.css')
-rw-r--r--style.css13
1 files changed, 9 insertions, 4 deletions
diff --git a/style.css b/style.css
index 07e1dcf..42e0e19 100644
--- a/style.css
+++ b/style.css
@@ -179,10 +179,12 @@ html, body {
}
#map-control-container[aria-hidden="true"],
-#layer-selection-panel[aria-hidden="true"] {
+#layer-selection-panel[aria-hidden="true"],
+#map-legend-panel[aria-hidden="true"] {
display: none;
}
-#layer-selection-panel {
+#layer-selection-panel,
+#map-legend-panel {
position: relative;
display: block;
min-width: min-content;
@@ -195,14 +197,17 @@ html, body {
--bs-modal-padding: .75rem;
}
@media screen and (max-width: 576px) {
- #layer-selection-panel {
+ #layer-selection-panel,
+ #map-legend-panel {
max-width: 100%;
margin-right: .5rem;
display: none;
}
#layer-selection-button,
+ #map-legend-button,
#export-to-image,
#map-menu #layer-selection-panel,
+ #map-menu #map-legend-panel,
#map-menu .ol-full-screen {
display: none;
}
@@ -220,7 +225,7 @@ html, body {
}
}
@media screen and (max-width: 768px) {
- #layer-selection-panel {
+ #map-legend-panel, #layer-selection-panel {
max-width: 60%;
}
}