From 17491e61d84740a536a910f0a2fdbb55532e2969 Mon Sep 17 00:00:00 2001 From: Agustina Carrion <agus.carrion@gmail.com> Date: Tue, 11 Apr 2023 12:41:14 +0200 Subject: [PATCH] fix: removed shadow in sidebar single view --- src/components/Sidebar/SidebarContainer.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Sidebar/SidebarContainer.tsx b/src/components/Sidebar/SidebarContainer.tsx index 2e0b308..55150a6 100644 --- a/src/components/Sidebar/SidebarContainer.tsx +++ b/src/components/Sidebar/SidebarContainer.tsx @@ -7,12 +7,12 @@ interface Props { const SidebarContainer: React.FC<Props> = ({ className, children, clickable = true }) => { return ( <aside - className={`fcmap-w-full md:fcmap-w-[336px] fcmap-overflow-y-auto fcmap-z-10 fcmap-shadow-lg ${ + className={`fcmap-w-full md:fcmap-w-[336px] fcmap-h-full fcmap-overflow-y-auto fcmap-z-10 ${ clickable ? 'fcmap-pointer-events-auto' : 'fcmap-pointer-events-none' } ${className ?? ''}`} > <div - className={`fcmap-w-full fcmap-max-h-full md:sidebar-height fcmap-min-h-min fcmap-bg-white fcmap-box-border fcmap-flex fcmap-flex-col`} + className={`fcmap-shadow-lg fcmap-w-full fcmap-max-h-full md:sidebar-height fcmap-min-h-min fcmap-bg-white fcmap-box-border fcmap-flex fcmap-flex-col`} > {children} </div> -- GitLab