Ability to resize the list of layers displayed on the map

This is a proposed change to resize the list of layers to fit the content of the list by default and give the ability to resize the window.

I felt that I was constrained by the fixed size that wasn't displaying enough layers to be comfortable to use.
This commit is contained in:
pfbreton-perso 2023-06-15 11:52:10 -04:00 committed by GitHub
parent 03b6f94a79
commit d53bbf84f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -587,8 +587,9 @@ ul.photon-autocomplete {
border-radius: 2px; border-radius: 2px;
} }
.leaflet-control-browse .umap-browse-datalayers { .leaflet-control-browse .umap-browse-datalayers {
max-height: 10em; height: max-content;
overflow-y: auto; overflow-y: auto;
resize: vertical;
} }
.search-result-tools i, .search-result-tools i,
.leaflet-inplace-toolbar a, .leaflet-inplace-toolbar a,