From: Anton Khorev Date: Mon, 12 Aug 2024 00:21:21 +0000 (+0300) Subject: Use content box sizing instead of negative margins X-Git-Tag: live~355^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/96ac0fb728e205871b2a4ca6d2d9b7d82a4fd2db?ds=inline;hp=--cc Use content box sizing instead of negative margins --- 96ac0fb728e205871b2a4ca6d2d9b7d82a4fd2db 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 = $("