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:
parent
25f9b9b19b
commit
d8cad49d84
@ -102,9 +102,12 @@ a:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* base layer selection - first column */
|
/* base layer selection - first column */
|
||||||
.leaflet-control-layers-base {
|
.leaflet-control-layers-base {
|
||||||
float: left;
|
float: left;
|
||||||
|
overflow-y: auto;
|
||||||
|
max-height: 600px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* overlays layer selection - 2nd column */
|
/* overlays layer selection - 2nd column */
|
||||||
@ -113,6 +116,8 @@ a:hover {
|
|||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
border-left: 1px solid #DDDDDD;
|
border-left: 1px solid #DDDDDD;
|
||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
|
overflow-y: auto;
|
||||||
|
max-height: 600px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* hide the usual separator */
|
/* hide the usual separator */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user