From c92a7cbe21a21414d9c96b5917619ff9194ff55e Mon Sep 17 00:00:00 2001 From: IhsenBouallegue Date: Thu, 1 Aug 2024 10:10:12 +0200 Subject: [PATCH] chore: Update padding in Bounded component and CallToAction slice --- src/components/bounded.tsx | 2 +- src/slices/CallToAction/index.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/bounded.tsx b/src/components/bounded.tsx index 7639e0c..6f6ca9b 100644 --- a/src/components/bounded.tsx +++ b/src/components/bounded.tsx @@ -14,7 +14,7 @@ export default function Bounded({ children, ...restProps }: BoundedProps) { - const basePadding = withExtraPadding ? "px-10 py-8" : "px-6 py-4"; + const basePadding = withExtraPadding ? "px-4 py-8" : "px-6 py-4"; const mdPadding = withExtraPadding ? "md:px-10 md:py-10" : "md:px-6 md:py-6"; const lgPadding = withExtraPadding ? "lg:px-12 lg:py-12" : "lg:px-8 lg:py-8"; diff --git a/src/slices/CallToAction/index.tsx b/src/slices/CallToAction/index.tsx index f3fcdb7..d20bee3 100644 --- a/src/slices/CallToAction/index.tsx +++ b/src/slices/CallToAction/index.tsx @@ -21,7 +21,7 @@ const CallToAction = ({ slice }: CallToActionProps): JSX.Element => { data-slice-variation={slice.variation} withExtraPadding > - + { > -
+
@@ -47,7 +47,7 @@ const CallToAction = ({ slice }: CallToActionProps): JSX.Element => {
-
+