Skip to content

Commit

Permalink
Merge pull request #5332 from AntonKhorev/layer-preview-backgrounds
Browse files Browse the repository at this point in the history
Set background for layer buttons to secondary body color
  • Loading branch information
gravitystorm authored Nov 15, 2024
2 parents b73f5d9 + 61aecd3 commit d185e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/leaflet.layers.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ L.OSM.layers = function (options) {
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'>")
Expand Down

0 comments on commit d185e83

Please sign in to comment.