Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix: adding dynamic view height on sidebar

Andreje7f4360eaf74
diff --git a/apps/web/src/components/common/sidebar/index.tsx b/apps/web/src/components/common/sidebar/index.tsx
index 3cab7dcff..980625c6c 100644
--- a/apps/web/src/components/common/sidebar/index.tsx
+++ b/apps/web/src/components/common/sidebar/index.tsx
@@ -17,7 +17,8 @@ export function Sidebar() {
}
}}
className={cn(
- "fixed inset-0 bg-black/50 z-30 lg:hidden h-screen",
+ "fixed inset-0 bg-black/50 z-30 lg:hidden",
+ "h-[100dvh]",
isSidebarOpened ? "opacity-100" : "opacity-0 pointer-events-none",
"transition-opacity duration-300 ease-in-out",
)}