From 902a3a6721383ca2634bf72f92e2b22539000ee1 Mon Sep 17 00:00:00 2001 From: Tormi Tabor Date: Sun, 10 Mar 2024 19:56:53 +0200 Subject: [PATCH] Move slimmer slider to bottomright. --- css/style.css | 4 ++-- js/script.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/css/style.css b/css/style.css index 7fcbe1c..2b7ce5e 100644 --- a/css/style.css +++ b/css/style.css @@ -33,11 +33,11 @@ } .ui-slider-vertical { - width: 2.8em; + width: 1.8em; } .ui-slider .ui-slider-handle { - width: 3.2em; + width: 2.2em; height: 2.2em; } diff --git a/js/script.js b/js/script.js index cc23560..89b05f2 100644 --- a/js/script.js +++ b/js/script.js @@ -97,7 +97,7 @@ L.control.layers(baseMaps, overlayMaps).addTo(map) // Create an instance of the custom vertical slider control const verticalSlider = new L.Control.VerticalSlider({ - position: 'topright', + position: 'bottomright', layer: vanamoisa, })