From d53bbf84f23e40fde495a62439e88e3e74f6a457 Mon Sep 17 00:00:00 2001 From: pfbreton-perso <59520411+pfbreton-perso@users.noreply.github.com> Date: Thu, 15 Jun 2023 11:52:10 -0400 Subject: [PATCH] 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. --- umap/static/umap/map.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/umap/static/umap/map.css b/umap/static/umap/map.css index 22783daf..ca1c00d1 100644 --- a/umap/static/umap/map.css +++ b/umap/static/umap/map.css @@ -587,8 +587,9 @@ ul.photon-autocomplete { border-radius: 2px; } .leaflet-control-browse .umap-browse-datalayers { - max-height: 10em; + height: max-content; overflow-y: auto; + resize: vertical; } .search-result-tools i, .leaflet-inplace-toolbar a,