From ea709de623a4268c98cf6a85b4e3368ffad6ab9f Mon Sep 17 00:00:00 2001 From: Martin Rubli Date: Mon, 16 Oct 2023 19:59:00 +0200 Subject: [PATCH] static: css: Fix z-order of maximized maps to be above other maps on the page --- static/css/hugo-mod-leaflet.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/css/hugo-mod-leaflet.css b/static/css/hugo-mod-leaflet.css index 780311f..df48abd 100644 --- a/static/css/hugo-mod-leaflet.css +++ b/static/css/hugo-mod-leaflet.css @@ -62,7 +62,7 @@ svg.heightgraph-container .select-symbol { top: 5%; border: 2px solid white; border-radius: 8px; - z-index: 1; /* above the backdrop */ + z-index: 1001; /* above the backdrop */ } .map-backdrop { @@ -80,7 +80,7 @@ svg.heightgraph-container .select-symbol { .map.leaflet-maximized ~ .map-backdrop { display: block; - z-index: 0; + z-index: 1000; /* some leaflet controls use 400. top that. */ } .map.leaflet-maximized ~ .map-attribution {