X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ad4ab4603b27f2e89e4bb4a709bc04a6685ba67b..edda4af515cfb0bd4de1ed0650b47e124bfad6ed:/app/assets/javascripts/leaflet.share.js?ds=sidebyside
diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js
index 69db10ad7..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")
@@ -98,7 +99,7 @@ L.OSM.share = function (options) {
.on("click", select))
.append(
$("
")
- .attr("class", "text-muted")
+ .attr("class", "text-body-secondary")
.text(I18n.t("javascripts.share.paste_html")));
// Geo URI
@@ -128,7 +129,7 @@ L.OSM.share = function (options) {
$("
")
.attr("id", "export-warning")
- .attr("class", "text-muted")
+ .attr("class", "text-body-secondary")
.text(I18n.t("javascripts.share.only_standard_layer"))
.appendTo($imageSection);
@@ -159,6 +160,7 @@ L.OSM.share = function (options) {
$("
")
.appendTo($form)
.attr("class", "row mb-3")
+ .attr("id", "mapnik_scale_row")
.append($("