Простой рабочий вариант

This commit is contained in:
ifraimka1 committed 2025-05-13 12:16:36 +03:00
1 parent 8d8c775233
commit 94350c4929
4 files changed
+40 -25

No files matched your search

+6 -10
View File
@@ -143,17 +143,13 @@ $swiper-button-arrow-size: 20px;
}
.slider {
position: static;
height: $slider;
.full-width-container {
position: absolute;
left: 0;
width: 100%;
}
margin-top: 2em;
padding: 0;
.swiper {
padding-top: 4em;
// overflow: unset;
.swiper-wrapper .swiper-slide {
aspect-ratio: 1 / 1;
position: relative;
@@ -187,11 +183,11 @@ $swiper-button-arrow-size: 20px;
.swiper-button-prev {
transform: scaleX(-1);
right: calc(10% + 24px + $swiper-button-size);
right: calc(24px + $swiper-button-size);
}
.swiper-button-next {
right: 10%;
right: 0;
}
.swiper-pagination {