diff --git a/src/pages/MainPage/ui/MainPage/MainPage.tsx b/src/pages/MainPage/ui/MainPage/MainPage.tsx
index cf23fe4..a3f8644 100644
--- a/src/pages/MainPage/ui/MainPage/MainPage.tsx
+++ b/src/pages/MainPage/ui/MainPage/MainPage.tsx
@@ -51,12 +51,12 @@ const MainPage = () => {
-
+
diff --git a/src/pages/MainPage/ui/components/Gallery/Gallery.tsx b/src/pages/MainPage/ui/components/Gallery/Gallery.tsx
index dd07f70..bb583b1 100644
--- a/src/pages/MainPage/ui/components/Gallery/Gallery.tsx
+++ b/src/pages/MainPage/ui/components/Gallery/Gallery.tsx
@@ -4,8 +4,6 @@ import "./Gallery.styles.scss";
function Gallery() {
return (
-
-
СКБ «КИТ» - реальные технологические
diff --git a/src/widgets/Slider/Slider.styles.scss b/src/widgets/Slider/Slider.styles.scss
index e59254b..1ab7b94 100644
--- a/src/widgets/Slider/Slider.styles.scss
+++ b/src/widgets/Slider/Slider.styles.scss
@@ -4,13 +4,18 @@
position: relative;
padding: 10px 0;
+ &.has-pagination {
+ .swiper {
+ padding-bottom: 40px;
+ }
+ }
+
.swiper-slide {
display: flex;
justify-content: center;
align-items: center;
- height: 48vh;
- bottom: 10px;
-
+
+
.slide-image {
width: 100%;
height: auto;
@@ -24,12 +29,12 @@
.swiper-wrapper:has(.swiper-slide.single) {
justify-content: center;
-
+
.swiper-slide.single {
display: flex;
justify-content: center;
align-items: center;
-
+
.slide-image {
width: auto;
height: 100%;
@@ -71,6 +76,7 @@
.custom-prev {
margin-left: -70px;
+
@media (max-width: 768px) {
margin-left: 0px;
}
@@ -78,6 +84,7 @@
.custom-next {
margin-right: -70px;
+
@media (max-width: 768px) {
margin-right: 0px;
}
@@ -97,6 +104,7 @@
opacity: 1;
transition: none;
height: 48vh;
+
.slide-image {
height: 350px;
}
@@ -110,18 +118,19 @@
&.no-animation .swiper-slide {
transition: none;
}
-
+
.swiper-wrapper:has(.swiper-slide.single) {
justify-content: center !important;
}
+
.swiper-slide-prev,
.swiper-slide-next {
opacity: 0.7;
transform: scale(0.9);
+
@media (max-width: 768px) {
opacity: 1;
transform: none;
}
}
-}
-
+}
\ No newline at end of file
diff --git a/src/widgets/Slider/Slider.tsx b/src/widgets/Slider/Slider.tsx
index 550d9ae..276bed4 100644
--- a/src/widgets/Slider/Slider.tsx
+++ b/src/widgets/Slider/Slider.tsx
@@ -57,7 +57,7 @@ function Slider({
if (isError) return
Ошибка при загрузке медиа
;
return (
-
+
{/* Кастомные стрелки */}
{enableButtons && (