From: Andy Allan Date: Wed, 10 Jun 2020 18:33:18 +0000 (+0200) Subject: Refactor away from global form control styling X-Git-Tag: live~2835^2~3 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/627f2493faa77336e7dcb13abb92dc547ee4db9f?ds=sidebyside Refactor away from global form control styling This enables forms to be converted one-by-one to bootstrap. Without this refactoring, these global styles interfere with form control styling from bootstrap. The rearrangement of the search and directions styling is to solve CSS selector specitivity issues. --- diff --git a/app/assets/javascripts/leaflet.layers.js b/app/assets/javascripts/leaflet.layers.js index 87ff87370..102b02460 100644 --- a/app/assets/javascripts/leaflet.layers.js +++ b/app/assets/javascripts/leaflet.layers.js @@ -119,7 +119,7 @@ L.OSM.layers = function (options) { .attr("class", "deemphasize") .appendTo(overlaySection); - var overlays = $("