From: Andy Allan Date: Wed, 6 Sep 2023 14:31:49 +0000 (+0100) Subject: Use bootstrap for share forms X-Git-Tag: live~1082^2~6 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/0ea6646fb6d86b11c78bc554168b76096fe21821?ds=inline Use bootstrap for share forms This fixes alignment of the checkboxes, and uses bootstrap form controls for the image format and scale inputs. Move the custom dimensions input to beside the custom dimensions display. --- diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js index 7b1c995c2..c72760c97 100644 --- a/app/assets/javascripts/leaflet.share.js +++ b/app/assets/javascripts/leaflet.share.js @@ -23,17 +23,15 @@ L.OSM.share = function (options) { $("
") .attr("class", "form-check mb-3") .appendTo($form) - .append( - $("