add a max-height and overflow to layer chooser - so it doesn't drop off the bottom of the screen when overloaded by many plugins

This commit is contained in:
Jon Atkins 2014-06-24 15:06:14 +01:00
parent 25f9b9b19b
commit d8cad49d84

View File

@ -102,9 +102,12 @@ a:hover {
}
/* base layer selection - first column */
.leaflet-control-layers-base {
float: left;
overflow-y: auto;
max-height: 600px;
}
/* overlays layer selection - 2nd column */
@ -113,6 +116,8 @@ a:hover {
margin-left: 8px;
border-left: 1px solid #DDDDDD;
padding-left: 8px;
overflow-y: auto;
max-height: 600px;
}
/* hide the usual separator */