]> git.openstreetmap.org Git - rails.git/commitdiff
Set background for layer buttons to secondary body color
authorAnton Khorev <tony29@yandex.ru>
Fri, 15 Nov 2024 15:33:16 +0000 (18:33 +0300)
committerAnton Khorev <tony29@yandex.ru>
Fri, 15 Nov 2024 15:33:16 +0000 (18:33 +0300)
app/assets/javascripts/leaflet.layers.js

index 82efab506c80f4d7dbd27f465f04928d383664f9..dc692a4a5d500f0ffbba724a8309769431e7efe8 100644 (file)
@@ -14,7 +14,7 @@ L.OSM.layers = function (options) {
       var buttonContainer = $("<div class='position-relative'>")
         .appendTo(baseSection);
 
       var buttonContainer = $("<div class='position-relative'>")
         .appendTo(baseSection);
 
-      var mapContainer = $("<div class='position-absolute top-0 start-0 bottom-0 end-0 z-0'>")
+      var mapContainer = $("<div class='position-absolute top-0 start-0 bottom-0 end-0 z-0 bg-body-secondary'>")
         .appendTo(buttonContainer);
 
       var input = $("<input type='radio' class='btn-check' name='layer'>")
         .appendTo(buttonContainer);
 
       var input = $("<input type='radio' class='btn-check' name='layer'>")