From 04401cad17cb5e44139133ac44f0a2ff54e26725 Mon Sep 17 00:00:00 2001 From: Munadil16 Date: Sat, 26 Oct 2024 12:42:53 +0530 Subject: [PATCH] fix: Fixed sidebar hidden behind appbar below 2xl --- src/components/Sidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 2316317d9..a91c878f3 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -204,7 +204,7 @@ export function Sidebar({ ref={sidebarRef} exit="closed" variants={sidebarVariants} - className="fixed right-0 top-[72px] z-[99999] flex h-screen w-full flex-col gap-4 overflow-y-auto rounded-r-lg border-l border-primary/10 bg-neutral-50 dark:bg-neutral-900 md:max-w-[30vw]" + className="fixed right-0 top-[72px] z-[99999] flex h-[calc(100vh-72px-72px)] w-full flex-col gap-4 overflow-y-auto rounded-r-lg border-l border-primary/10 bg-neutral-50 dark:bg-neutral-900 md:max-w-[30vw] 2xl:h-screen" >