]> git.openstreetmap.org Git - rails.git/commitdiff
Remove custom css from "Enable overlays" text
authorAnton Khorev <tony29@yandex.ru>
Sat, 25 May 2024 01:47:32 +0000 (04:47 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sat, 25 May 2024 01:47:32 +0000 (04:47 +0300)
app/assets/javascripts/leaflet.layers.js
app/assets/stylesheets/common.scss

index 2702f6017e54d605730181642d668458e9898d17..55d492b29421968cad2e0b3585aebdcdd2c0e23a 100644 (file)
@@ -84,7 +84,7 @@ L.OSM.layers = function (options) {
 
       $("<p>")
         .text(I18n.t("javascripts.map.layers.overlays"))
-        .attr("class", "text-body-secondary")
+        .attr("class", "text-body-secondary small mb-2")
         .appendTo(overlaySection);
 
       var overlays = $("<ul class='list-unstyled form-check'>")
index 0edb3b0fc3cdbb56741946ac3e6da9302f883595..1dcdb3b2660962d7071129fc7188172e49bc3dcb 100644 (file)
@@ -423,10 +423,6 @@ body.small-nav {
   }
 
   .overlay-layers {
-    p {
-      font-size: 13px;
-      margin-bottom: 8px;
-    }
     li.disabled { color: $darkgrey; }
   }
 }