X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52a8e2a0d91355ba152443a63cc8c9744240a907..80d7fe4cce0b3562a1465b7c278283ef57bb8dcf:/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..55d492b29 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) { @@ -79,12 +79,12 @@ L.OSM.layers = function (options) { if (OSM.STATUS !== "api_offline" && OSM.STATUS !== "database_offline") { var overlaySection = $("
") - .attr("class", "section overlay-layers") + .attr("class", "overlay-layers p-3") .appendTo($ui); $("

") .text(I18n.t("javascripts.map.layers.overlays")) - .attr("class", "text-muted") + .attr("class", "text-body-secondary small mb-2") .appendTo(overlaySection); var overlays = $("