]> git.openstreetmap.org Git - rails.git/commitdiff
Merge remote-tracking branch 'upstream/pull/4345'
authorTom Hughes <tom@compton.nu>
Tue, 14 Nov 2023 15:40:03 +0000 (15:40 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 14 Nov 2023 15:40:03 +0000 (15:40 +0000)
app/assets/javascripts/index/browse.js
app/assets/stylesheets/common.scss
app/views/layouts/map.html.erb

index a65934d0227c3f53eee00c23e2e97d63d6628ce4..69d625ecab5420ca85f83bcb1a2a0895ef5ec44e 100644 (file)
@@ -48,7 +48,7 @@ OSM.initializeBrowse = function (map) {
 
   function displayFeatureWarning(count, limit, add, cancel) {
     $("#browse_status").html(
-      $("<div>").append(
+      $("<div class='p-3'>").append(
         $("<div class='d-flex'>").append(
           $("<h2 class='flex-grow-1 text-break'>")
             .text(I18n.t("browse.start_rjs.load_data")),
index 44ac1a8d710dea4135953ddac4fc58ee991cf318..1a3e9dacaa3ef21d7eff3952f623cdc138cfcbfe 100644 (file)
@@ -393,10 +393,6 @@ body.small-nav {
     #sidebar_loader {
       display: none;
     }
-
-    #sidebar_content {
-      padding: $spacer;
-    }
   }
 
   .overlay-sidebar #sidebar {
@@ -581,10 +577,6 @@ body.small-nav {
     margin-left: auto;
     margin-right: auto;
   }
-
-  > div {
-   padding: $spacer;
-  }
 }
 
 /* Temporary label size override until we remove site-wide font customisation */
index 62b6acf4301437de6e476e9248c4f528be4e9de1..55066f25f227e1bee738d23f7763c0895d1d298e 100644 (file)
@@ -36,7 +36,7 @@
       </div>
     </div>
 
-    <div id="sidebar_content">
+    <div id="sidebar_content" class="p-3">
       <%= yield %>
     </div>