]> git.openstreetmap.org Git - rails.git/commitdiff
Use h2 as the main header on the map-ui panel
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 6 Sep 2023 15:32:04 +0000 (16:32 +0100)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 6 Sep 2023 17:10:02 +0000 (18:10 +0100)
app/assets/javascripts/leaflet.sidebar-pane.js

index 5e5006fb0c0269bfb6d60ec164099d61855ed08d..516a446c38811994cf4343b8b507340f3b709efa 100644 (file)
@@ -22,7 +22,7 @@ L.OSM.sidebarPane = function (options, uiClass, buttonTitle, paneTitle) {
 
     $("<div class='d-flex p-3 pb-0'>")
       .appendTo($ui)
-      .append($("<h4 class='flex-grow-1 text-break'>")
+      .append($("<h2 class='flex-grow-1 text-break'>")
         .text(I18n.t(paneTitle)))
       .append($("<div>")
         .append($("<button type='button' class='btn-close'>")