aboutsummaryrefslogtreecommitdiffstats
path: root/main.js
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-02-01 21:15:49 +0100
committerGuilhem Moulin <guilhem@fripost.org>2024-02-02 01:25:20 +0100
commit21503e6100d4bb1eab56e22d33865229b909e086 (patch)
tree1fc61eb642bda843631cf7cad2d9f3de239edf03 /main.js
parent2dda892451fdc6cab3d4c8f394c597cb957f9e12 (diff)
CSS: Improve rules for mobile devices.
Place control icons in a row near the top.
Diffstat (limited to 'main.js')
-rw-r--r--main.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.js b/main.js
index 15c82ed..f09ce31 100644
--- a/main.js
+++ b/main.js
@@ -157,6 +157,7 @@ const featureOverlaySource = new VectorSource();
const container = document.getElementById('map-control-container');
(function() {
const container0 = map.getViewport().getElementsByClassName('ol-overlaycontainer-stopevent')[0];
+ container0.appendChild(document.getElementById('zoom-control'));
container0.appendChild(container);
container0.appendChild(document.getElementById('modal-info'));