From 8042a4e9da7d0a3ee71c5a6baa0261f189319fc5 Mon Sep 17 00:00:00 2001 From: Ifraim Solomonov Date: Tue, 27 Feb 2024 15:33:04 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=BC=D0=B5=D0=BD=D1=8C=D1=88=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D1=81=D0=BB=D0=B0=D0=B9=D0=B4=D0=B5=D1=80?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Slider/Slider.styles.scss | 3 ++- src/components/Slider/components/Arrows.styles.scss | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/Slider/Slider.styles.scss b/src/components/Slider/Slider.styles.scss index 7e003ae..89f2d8e 100644 --- a/src/components/Slider/Slider.styles.scss +++ b/src/components/Slider/Slider.styles.scss @@ -9,6 +9,7 @@ width: 100%; height: 100%; transition: transform 0.5s ease-in-out; + margin: 0 auto; & .slide { flex: 1 0 100%; @@ -17,7 +18,7 @@ & .slide-image { display: flex; - width: 80%; + height: 60vh; margin: 0 auto; border-radius: 8px; } diff --git a/src/components/Slider/components/Arrows.styles.scss b/src/components/Slider/components/Arrows.styles.scss index aad5909..75eb597 100644 --- a/src/components/Slider/components/Arrows.styles.scss +++ b/src/components/Slider/components/Arrows.styles.scss @@ -7,8 +7,8 @@ align-items: center; height: 100%; - width: calc(100% - 10% + 60px); - left: calc(5% - 30px); + width: calc(100% - 30% + 60px); + left: calc(15% - 30px); margin: 0 auto; color: white;