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; }