X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7f3cb3c6246e6e271761e714cceb081e85a4d245..7f611b295f39b8c42219a5ce6c84582db74ce8f7:/app/assets/javascripts/leaflet.share.js
diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js
index 0b868d2ca..40ba020e6 100644
--- a/app/assets/javascripts/leaflet.share.js
+++ b/app/assets/javascripts/leaflet.share.js
@@ -8,6 +8,7 @@ L.OSM.share = function (options) {
control.onAddPane = function (map, button, $ui) {
// Link / Embed
+ $("#content").addClass("overlay-right-sidebar");
var $linkSection = $("
")
.attr("class", "share-link p-3 border-bottom border-secondary-subtle")
@@ -159,6 +160,7 @@ L.OSM.share = function (options) {
$("
")
.appendTo($form)
.attr("class", "row mb-3")
+ .attr("id", "mapnik_scale_row")
.append($("