From 9ee948fcb8455010a68cb512571923c134cde1f4 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 21 Dec 2025 00:14:32 -0500 Subject: [PATCH] update frontend --- src/styles/maps.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/styles/maps.css b/src/styles/maps.css index d86b3f7..117df60 100644 --- a/src/styles/maps.css +++ b/src/styles/maps.css @@ -2,13 +2,14 @@ /* On vise ta classe réelle: .sw-searchbar (celle utilisée dans MapView.jsx) */ .sw-searchbar { - /* 75% de l'écran, max 520px, toujours propre */ - width: min(75vw, 520px); + /* full width dans son conteneur + limite max propre */ + width: 100%; + max-width: min(760px, 92vw); } @media (min-width: 1024px) { .sw-searchbar { - width: min(75vw, 520px); + max-width: min(820px, 70vw); } }