diff --git a/src/c3nav/editor/static/editor/css/editor.css b/src/c3nav/editor/static/editor/css/editor.css index b3021af0..762aa98c 100644 --- a/src/c3nav/editor/static/editor/css/editor.css +++ b/src/c3nav/editor/static/editor/css/editor.css @@ -170,6 +170,9 @@ form button.invisiblesubmit { } /* Styles inside leaflet */ +.leaflet-map-pane svg { + z-index: auto; +} .leaflet-control-layers-overlays label { margin-bottom:0; } diff --git a/src/c3nav/editor/static/editor/js/editor.js b/src/c3nav/editor/static/editor/js/editor.js index 2daa1c78..86f2aabb 100644 --- a/src/c3nav/editor/static/editor/js/editor.js +++ b/src/c3nav/editor/static/editor/js/editor.js @@ -51,7 +51,7 @@ editor = { sources: {}, get_sources: function () { // load sources - editor._sources_control = L.control.layers([], [], {autoZIndex: true}); + editor._sources_control = L.control.layers([], [], { autoZIndex: false }); $.getJSON('/api/sources/', function (sources) { var source;