From a77d1e60d486d74a7b6d2fbe2845c55c9564c86f Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 13 Dec 2025 02:04:16 -0500 Subject: [PATCH] update frontend --- src/styles/mapMarkers.css | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/styles/mapMarkers.css b/src/styles/mapMarkers.css index f04f4cc..b5edd9d 100644 --- a/src/styles/mapMarkers.css +++ b/src/styles/mapMarkers.css @@ -1,14 +1,12 @@ -/* MapLibre gère la position/transform, on ne touche pas */ +/* MapLibre gère la position/transform via .maplibregl-marker, on ne touche PAS */ .post-pin { display: flex; flex-direction: column; align-items: center; pointer-events: auto; - /* IMPORTANT: z-index fonctionne seulement si l'élément est "positioned" */ - position: relative; - - /* par défaut tout est en bas */ + /* IMPORTANT: NE PAS mettre position ici, sinon on casse l'ancrage MapLibre */ + /* MapLibre applique position:absolute via .maplibregl-marker */ z-index: 1; }