From 7c712f600124c5a6b1a1bef022de1757324581a5 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Fri, 29 Mar 2024 09:51:53 +0200 Subject: [PATCH] feat(sidebar-wrapper): add reusable style with flag for side padding --- src/components/PageWrappers/SidebarsWrapper.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/components/PageWrappers/SidebarsWrapper.tsx b/src/components/PageWrappers/SidebarsWrapper.tsx index 8866dd86..b72e8ee8 100644 --- a/src/components/PageWrappers/SidebarsWrapper.tsx +++ b/src/components/PageWrappers/SidebarsWrapper.tsx @@ -19,6 +19,19 @@ const SidebarsWrapper = ({ isNotSidePadding, }: SidebarsWrapperProps) => { return ( + + {!isNotLeftSidebar && } +
+ {children} +
{!isNotRightSidebar && (