]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.share.js
Use bootstrap form controls for the link and html controls
[rails.git] / app / assets / javascripts / leaflet.share.js
index c72760c972e5b8733af2e81b1e3e24d5edcafdf1..5fb189a7684765655115c54fe1d31f9b548f6522 100644 (file)
@@ -68,6 +68,7 @@ L.OSM.share = function (options) {
       .append($("<input>")
         .attr("id", "long_input")
         .attr("type", "text")
+        .attr("class", "form-control form-control-sm font-monospace")
         .on("click", select));
 
     $("<div>")
@@ -77,6 +78,7 @@ L.OSM.share = function (options) {
       .append($("<input>")
         .attr("id", "short_input")
         .attr("type", "text")
+        .attr("class", "form-control form-control-sm font-monospace")
         .on("click", select));
 
     $("<div>")
@@ -86,6 +88,7 @@ L.OSM.share = function (options) {
       .append(
         $("<textarea>")
           .attr("id", "embed_html")
+          .attr("class", "form-control form-control-sm font-monospace")
           .on("click", select))
       .append(
         $("<p>")