fix: adapt carousel control on mobile

This commit is contained in:
2025-10-08 20:50:52 +04:00
parent b7ccfce43e
commit f1f056f7f3
2 changed files with 144 additions and 12 deletions
+13
View File
@@ -1207,6 +1207,12 @@ img {
display: flex;
transition: transform 0.5s ease;
padding-bottom: 10px;
cursor: grab;
user-select: none;
}
.carousel-container:active {
cursor: grabbing;
}
.carousel-item {
@@ -1215,6 +1221,13 @@ img {
margin-right: 20px;
}
/* Réduire l'espacement en mobile */
@media (max-width: 768px) {
.carousel-item {
margin-right: 10px;
}
}
.carousel-controls {
display: flex;
justify-content: center;