From f80bc583585ce3c2832ac74ab7cb73e5bfa7e597 Mon Sep 17 00:00:00 2001 From: xomimishka Date: Mon, 17 Mar 2025 18:04:02 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D1=84=D0=B8=D0=BA=D1=81=D0=B8?= =?UTF-8?q?=D0=BBa=20=D1=81=D1=82=D1=80=D0=B5=D0=BB=D0=BA=D0=B8=20=D0=B3?= =?UTF-8?q?=D0=B0=D0=BB=D0=BB=D0=B5=D1=80=D0=B5=D0=B8=20=D0=B8=20=D1=83?= =?UTF-8?q?=D0=B1=D1=80=D0=B0=D0=BB=D0=B0=20=D0=BE=D1=82=D1=81=D1=82=D1=83?= =?UTF-8?q?=D0=BF=20=D0=BD=D0=B0=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=86=D0=B5=20=D0=BA=D0=BE=D0=BD=D1=82=D0=B0=D0=BA=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Slider/Slider.jsx | 2 +- src/pages/Contact/Contact.styles.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Slider/Slider.jsx b/src/components/Slider/Slider.jsx index 6c69da2..db55ec7 100644 --- a/src/components/Slider/Slider.jsx +++ b/src/components/Slider/Slider.jsx @@ -33,7 +33,7 @@ function Slider({ autoPlay = false, autoPlayTime = 3000, images = false, variant : await getMedia('gallery'); setMediaList(newMediaList); - setEnableButtons(newMediaList.length > 1); + setEnableButtons(newMediaList.length > 2); }; loadData(); diff --git a/src/pages/Contact/Contact.styles.scss b/src/pages/Contact/Contact.styles.scss index 11c4ee1..2481407 100644 --- a/src/pages/Contact/Contact.styles.scss +++ b/src/pages/Contact/Contact.styles.scss @@ -8,7 +8,7 @@ flex: 1 1 50%; margin-bottom: 2em; - margin-top: 48px; + //margin-top: 48px; @media (max-width: 768px) { margin-top: 0; }