browse datalayers overflow fix
In my previous improvement where I suggested to set the height of datalayers to the size of the content and add a resize handle i neglected the case where a very long list of layers could make the control unusable by overflowing the available screen space. I suggest to reintroduce a maximum height so that we have a good compromize between resizing the datalayer list and the maximum possible size.
This commit is contained in:
parent
608c54d4bf
commit
5dd0c2394a
1 changed files with 2 additions and 1 deletions
|
@ -587,7 +587,8 @@ ul.photon-autocomplete {
|
|||
border-radius: 2px;
|
||||
}
|
||||
.leaflet-control-browse .umap-browse-datalayers {
|
||||
height: max-content;
|
||||
height: fit-content;
|
||||
max-height: 40em;
|
||||
overflow-y: auto;
|
||||
resize: vertical;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue