improve carousel mobile. related to #53
All checks were successful
Deploy / Deploy to Production (push) Successful in 32s
All checks were successful
Deploy / Deploy to Production (push) Successful in 32s
This commit is contained in:
parent
65f6bf459b
commit
6e0b0bd551
1 changed files with 5 additions and 7 deletions
|
|
@ -12,8 +12,6 @@
|
|||
let swiper = null
|
||||
|
||||
onMount(() => {
|
||||
// Petit délai pour laisser le layout se stabiliser
|
||||
// (le composant est monté même quand le slide est hors écran)
|
||||
const timer = setTimeout(() => {
|
||||
swiper = new Swiper(swiperContainerEl, {
|
||||
modules: [Navigation, Pagination],
|
||||
|
|
@ -166,11 +164,7 @@
|
|||
text-transform: uppercase;
|
||||
border-radius: 4px;
|
||||
transition: transform 0.3s ease, background-color 0.3s ease;
|
||||
}
|
||||
|
||||
.nav-button:hover:not(:disabled) {
|
||||
transform: scale(1.05);
|
||||
background-color: rgba(4, 254, 160, 0.1);
|
||||
text-wrap: nowrap;
|
||||
}
|
||||
|
||||
.nav-button:disabled {
|
||||
|
|
@ -210,5 +204,9 @@
|
|||
width: 6px;
|
||||
height: 6px;
|
||||
}
|
||||
|
||||
.team-member-image {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue