From dc24f6c2195c6053efd43778d53ae68984e54107 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 6 Sep 2023 15:55:16 +0100 Subject: [PATCH] Use bootstrap form controls for the link and html controls --- app/assets/javascripts/leaflet.share.js | 3 +++ app/assets/stylesheets/common.scss | 10 ---------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js index c72760c97..5fb189a76 100644 --- a/app/assets/javascripts/leaflet.share.js +++ b/app/assets/javascripts/leaflet.share.js @@ -68,6 +68,7 @@ L.OSM.share = function (options) { .append($("") .attr("id", "long_input") .attr("type", "text") + .attr("class", "form-control form-control-sm font-monospace") .on("click", select)); $("
") @@ -77,6 +78,7 @@ L.OSM.share = function (options) { .append($("") .attr("id", "short_input") .attr("type", "text") + .attr("class", "form-control form-control-sm font-monospace") .on("click", select)); $("
") @@ -86,6 +88,7 @@ L.OSM.share = function (options) { .append( $("