fix: Исправлена анимация карусели событий, смена событий триггерит анимацию. Исправлено расположение кнопок навигации

This commit is contained in:
Ilia Mashkov
2025-11-21 12:55:22 +03:00
parent 5a2a7642d3
commit 65630bae8a
2 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
.prevButtonWrapper { .prevButtonWrapper {
position: absolute; position: absolute;
top: 50%; top: 50%;
left: -25px; left: -60px;
z-index: 10; z-index: 10;
transform: translateY(-50%); transform: translateY(-50%);
@@ -18,7 +18,7 @@
.nextButtonWrapper { .nextButtonWrapper {
position: absolute; position: absolute;
top: 50%; top: 50%;
right: -25px; right: -60px;
z-index: 10; z-index: 10;
transform: translateY(-50%) rotate(180deg); transform: translateY(-50%) rotate(180deg);

View File

@@ -89,7 +89,7 @@ export const EventsCarousel = memo(
}, containerRef) }, containerRef)
return () => ctx.revert() return () => ctx.revert()
}, [visible]) }, [visible, events])
/** /**
* Обработчик инициализации Swiper * Обработчик инициализации Swiper