X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f3ea0e14b09880ec824521029bfd47899f9d093b..d2dc1ff8978a3ed9636c172a7e3cfb8e3d83410b:/app/assets/javascripts/leaflet.layers.js?ds=sidebyside diff --git a/app/assets/javascripts/leaflet.layers.js b/app/assets/javascripts/leaflet.layers.js index b78ac6e07..dc692a4a5 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,7 +22,7 @@ L.OSM.layers = function (options) { .prop("checked", map.hasLayer(layer)) .appendTo(buttonContainer); - var item = $("