fixing downalod buttons
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2024-10-22 14:48:35 +02:00
parent 738ffd1cee
commit c3eba232cc

View File

@ -30,7 +30,7 @@
.swiper-pagination { .swiper-pagination {
bottom: -100px !important; bottom: -100px !important;
@screen md { @screen md {
bottom: -120px !important; bottom: -100px !important;
} }
} }
@ -77,6 +77,16 @@
.swiper-slide { .swiper-slide {
@apply h-auto text-center; @apply h-auto text-center;
.cta--download {
@apply opacity-0 pointer-events-none transition-all duration-300;
}
}
.swiper-slide-visible {
.cta--download {
@apply opacity-100 pointer-events-auto;
}
} }
} }
@ -114,7 +124,7 @@
} }
.cta--download { .cta--download {
@apply w-fit text-4xl mx-auto absolute left-1/2; @apply w-fit text-4xl mx-auto absolute left-1/2;
transform: translate(-50%, 100%); transform: translate(-50%, calc(100% + 40px));
transform-origin: 0 50%; transform-origin: 0 50%;
} }
} }