Skip to content

Commit

Permalink
Move slimmer slider to bottomright.
Browse files Browse the repository at this point in the history
  • Loading branch information
tormi committed Mar 10, 2024
1 parent eb1e5f5 commit 902a3a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})

Expand Down

0 comments on commit 902a3a6

Please sign in to comment.