From 52129586e1696362a5de2bfb11d07f8ecc0674b3 Mon Sep 17 00:00:00 2001 From: yoss Date: Thu, 20 Feb 2020 22:48:13 +0700 Subject: [PATCH] update landing page styled --- frontend/components/Carousel/index.tsx | 5 +++++ frontend/containers/landing-page/Components/ReviewItems.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/components/Carousel/index.tsx b/frontend/components/Carousel/index.tsx index 205da5e1..ebf75fad 100644 --- a/frontend/components/Carousel/index.tsx +++ b/frontend/components/Carousel/index.tsx @@ -14,6 +14,11 @@ const carouselSettings = { autoHeight: false, buttonsDisabled: true, startIndex: 0, + stagePadding: { + paddingLeft: 0, // in pixels + paddingRight: 0, + }, + fadeOutAnimation: true, }; const baseButtonStyle = css` position: absolute; diff --git a/frontend/containers/landing-page/Components/ReviewItems.tsx b/frontend/containers/landing-page/Components/ReviewItems.tsx index 9ca30ec6..eadabbfe 100644 --- a/frontend/containers/landing-page/Components/ReviewItems.tsx +++ b/frontend/containers/landing-page/Components/ReviewItems.tsx @@ -19,7 +19,7 @@ const CardComponent = Styled.div` `; const CardWrapper = Styled.div` - padding: 20px; + padding: 20px 0; `; const Title = Styled.div`