From f604c12be36a4a2984da0c5fc258796760737c42 Mon Sep 17 00:00:00 2001 From: David Larlet Date: Fri, 19 May 2023 10:21:34 -0400 Subject: [PATCH] Max width for the help box (on small screens) Fix #887 as suggested by @esteban-em --- umap/static/umap/map.css | 1 + 1 file changed, 1 insertion(+) diff --git a/umap/static/umap/map.css b/umap/static/umap/map.css index 525027d8..66c4ea30 100644 --- a/umap/static/umap/map.css +++ b/umap/static/umap/map.css @@ -292,6 +292,7 @@ ul.photon-autocomplete { position: absolute; margin: 0 calc(50% - 500px/2); width: 500px; + max-width: 100vw; padding: 40px 20px; border: 1px solid #222; background-color: #323737;