From 0ff4077d0876c76754c051cbad50fefb4f15207b Mon Sep 17 00:00:00 2001 From: ifraimka Date: Tue, 16 Apr 2024 14:04:05 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20=D1=80=D0=B0=D0=B7=D0=BC=D0=B5=D1=80=20=D0=B8?= =?UTF-8?q?=D0=B7=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B9=20?= =?UTF-8?q?=D0=B3=D0=B0=D0=BB=D0=B5=D1=80=D0=B5=D0=B8,=20=D1=87=D1=82?= =?UTF-8?q?=D0=BE=D0=B1=D1=8B=20=D0=BE=D0=BD=D0=B8=20=D0=BD=D0=B5=20=D0=B7?= =?UTF-8?q?=D0=B0=D1=85=D0=BE=D0=B4=D0=B8=D0=BB=D0=B8=20=D0=BD=D0=B0=20?= =?UTF-8?q?=D1=81=D1=82=D1=80=D0=B5=D0=BB=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Slider/Slider.styles.scss | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/Slider/Slider.styles.scss b/src/components/Slider/Slider.styles.scss index 89f2d8e..10982cc 100644 --- a/src/components/Slider/Slider.styles.scss +++ b/src/components/Slider/Slider.styles.scss @@ -18,15 +18,11 @@ & .slide-image { display: flex; - height: 60vh; + max-height: 60vh; + max-width: calc(100% - 2 * (15% + 30px)); margin: 0 auto; border-radius: 8px; } - - & .slide-title { - text-align: center; - margin-top: 10px; - } } } } \ No newline at end of file