fix sources being invisible in the editor

This commit is contained in:
Laura Klünder 2017-11-01 14:44:31 +01:00
parent 554b36d22f
commit 6cf8ea40c0
2 changed files with 4 additions and 1 deletions

View file

@ -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;
}

View file

@ -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;