fix: adapt carousel control on mobile
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user