X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/130dd3a8228f77fcf2f67c766b4aa3527f314b9b..83043d6f1cd85729a3f91e5c73d78a39b8ae7d04:/app/assets/javascripts/leaflet.layers.js diff --git a/app/assets/javascripts/leaflet.layers.js b/app/assets/javascripts/leaflet.layers.js index b78ac6e07..35b958c7a 100644 --- a/app/assets/javascripts/leaflet.layers.js +++ b/app/assets/javascripts/leaflet.layers.js @@ -5,7 +5,7 @@ L.OSM.layers = function (options) { var layers = options.layers; var baseSection = $("
") - .attr("class", "section base-layers d-grid gap-3") + .attr("class", "base-layers d-grid gap-3 p-3 border-bottom border-secondary-subtle") .appendTo($ui); layers.forEach(function (layer, i) { @@ -14,7 +14,7 @@ L.OSM.layers = function (options) { var buttonContainer = $("
") .appendTo(baseSection); - var mapContainer = $("
") + var mapContainer = $("
") .appendTo(buttonContainer); var input = $("") @@ -22,14 +22,14 @@ L.OSM.layers = function (options) { .prop("checked", map.hasLayer(layer)) .appendTo(buttonContainer); - var item = $("