From 0c0e0f2377829b4e091f8347e722dc315528b4ea Mon Sep 17 00:00:00 2001 From: Nikita Gorin <36075690+NikitaCG@users.noreply.github.com> Date: Fri, 20 Oct 2023 18:43:45 +0300 Subject: [PATCH] feat: sync paddings values with page-constructor indents values (#133) --- src/blocks/Layout/Layout.tsx | 4 ++-- src/components/Wrapper/Wrapper.tsx | 2 +- src/constants.ts | 2 +- src/models/paddings.ts | 2 +- styles/mixins.scss | 16 ++++++++++++---- test-utils/constants.ts | 2 +- 6 files changed, 18 insertions(+), 10 deletions(-) diff --git a/src/blocks/Layout/Layout.tsx b/src/blocks/Layout/Layout.tsx index e699ee8e..67b1215a 100644 --- a/src/blocks/Layout/Layout.tsx +++ b/src/blocks/Layout/Layout.tsx @@ -36,8 +36,8 @@ export const Layout = ({ fullWidth, mobileOrder, children, - paddingTop = 'xs', - paddingBottom = 'xs', + paddingTop = '0', + paddingBottom = '0', }: PropsWithChildren) => { const layout: LayoutType = useMemo(() => { const layoutConfig: LayoutType = { diff --git a/src/components/Wrapper/Wrapper.tsx b/src/components/Wrapper/Wrapper.tsx index 4aef19f6..1102c411 100644 --- a/src/components/Wrapper/Wrapper.tsx +++ b/src/components/Wrapper/Wrapper.tsx @@ -24,7 +24,7 @@ export const Wrapper: React.FunctionComponent = ({