From 96ac0fb728e205871b2a4ca6d2d9b7d82a4fd2db Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Mon, 12 Aug 2024 03:21:21 +0300 Subject: [PATCH] Use content box sizing instead of negative margins --- app/assets/javascripts/leaflet.layers.js | 2 +- app/assets/stylesheets/common.scss | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/leaflet.layers.js b/app/assets/javascripts/leaflet.layers.js index 55d492b29..82efab506 100644 --- a/app/assets/javascripts/leaflet.layers.js +++ b/app/assets/javascripts/leaflet.layers.js @@ -22,7 +22,7 @@ L.OSM.layers = function (options) { .prop("checked", map.hasLayer(layer)) .appendTo(buttonContainer); - var item = $("