mobile position popup

This commit is contained in:
2024-10-08 21:10:45 +02:00
parent 3fc1580186
commit caa62e7692
3 changed files with 99 additions and 77 deletions

View File

@@ -10,6 +10,9 @@
max-width: 800px; /* Optionnel : Limiter la largeur maximale */
margin: 0 auto; /* Centrer le conteneur */
height: auto; /* Permet à la hauteur de s'ajuster automatiquement */
@media (max-width: 810px) {
height: 550px;
}
}
@@ -21,13 +24,16 @@
/* Styles du popup (caché par défaut) */
#sites-map-container #popup {
font-family: 'gilroy-semibold';
font-family: 'gilroy-regular';
display: none;
position: absolute;
z-index: 1000;
text-align: left;
padding-left: 1rem;
pointer-events: none;
@media (max-width: 810px) {
bottom: 20px;
}
}
@@ -62,9 +68,10 @@
font-size: 0.7rem;
}
@media (max-width : 810px) {
width: 250px;
width: 300px;
background-color: white;
border-radius: 5px;
padding: 0.5rem;
padding-left: 1rem;
}
}