]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.sidebar-pane.js
Use standard padding size for map-ui sidebar
[rails.git] / app / assets / javascripts / leaflet.sidebar-pane.js
index d8213a3767a948aee2c0a9cdadc5498cbf1d4208..5e5006fb0c0269bfb6d60ec164099d61855ed08d 100644 (file)
@@ -20,7 +20,7 @@ L.OSM.sidebarPane = function (options, uiClass, buttonTitle, paneTitle) {
     var $ui = $("<div>")
       .attr("class", uiClass + "-ui");
 
     var $ui = $("<div>")
       .attr("class", uiClass + "-ui");
 
-    $("<div class='sidebar_heading d-flex'>")
+    $("<div class='d-flex p-3 pb-0'>")
       .appendTo($ui)
       .append($("<h4 class='flex-grow-1 text-break'>")
         .text(I18n.t(paneTitle)))
       .appendTo($ui)
       .append($("<h4 class='flex-grow-1 text-break'>")
         .text(I18n.t(paneTitle)))