X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7904b49bb13c23b8c8beb4f5bcf25fa12d8374dd..6acb032d4c5ab6e891a773d4a89dfc53725f9d86:/app/assets/javascripts/index.js diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index 2bda933a9..6f3bb0c50 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -109,8 +109,14 @@ $(document).ready(function () { control.addTo(map); }); - var lastContainer = controls[controls.length -1].getContainer(); - $(lastContainer).addClass("leaflet-control-group-end"); + var firstContainer = controls[0].getContainer(); + $(firstContainer).find(".control-button").first() + .css("border-start-start-radius", "4px"); + + var lastContainer = controls[controls.length - 1].getContainer(); + $(lastContainer).find(".control-button").last() + .css("margin-bottom", "10px") + .css("border-end-start-radius", "4px"); } addControlGroup([