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); } }