⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
fix: wrong z-index on modals
Andrej2de17b8b1993
diff --git a/apps/web/src/components/common/sidebar/index.tsx b/apps/web/src/components/common/sidebar/index.tsxindex 383e91722..f1443f7c5 100644--- a/apps/web/src/components/common/sidebar/index.tsx+++ b/apps/web/src/components/common/sidebar/index.tsx@@ -17,7 +17,7 @@ export function Sidebar() {}}}className={cn(- "fixed inset-0 bg-black/50 z-20 lg:hidden",+ "fixed inset-0 bg-black/50 z-30 lg:hidden",isSidebarOpened ? "opacity-100" : "opacity-0 pointer-events-none","transition-opacity duration-300 ease-in-out",)}@@ -31,7 +31,7 @@ export function Sidebar() {"transition-all duration-300 ease-in-out","min-h-screen","fixed lg:relative top-0 left-0",- "z-20",+ "z-30",!isSidebarOpened ? "w-16" : "w-64",)}>diff --git a/apps/web/src/components/common/sidebar/sections/projects/create-project-modal.tsx b/apps/web/src/components/common/sidebar/sections/projects/create-project-modal.tsxindex e7a04083f..587eff524 100644--- a/apps/web/src/components/common/sidebar/sections/projects/create-project-modal.tsx+++ b/apps/web/src/components/common/sidebar/sections/projects/create-project-modal.tsx@@ -51,8 +51,8 @@ function CreateProjectModal({ open, onClose }: CreateProjectModalProps) {return (<Dialog.Root open={open} onOpenChange={onClose}><Dialog.Portal>- <Dialog.Overlay className="fixed inset-0 bg-black/40 backdrop-blur-xs" />- <Dialog.Content className="fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-md">+ <Dialog.Overlay className="fixed inset-0 bg-black/40 backdrop-blur-xs z-40" />+ <Dialog.Content className="fixed z-50 left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-md"><div className="bg-white dark:bg-zinc-900 rounded-lg shadow-xl"><div className="flex items-center justify-between p-4 border-b border-zinc-200 dark:border-zinc-800"><Dialog.Title className="text-lg font-semibold text-zinc-900 dark:text-zinc-100">diff --git a/apps/web/src/components/common/sidebar/sections/workspaces/components/create-workspace-modal.tsx b/apps/web/src/components/common/sidebar/sections/workspaces/components/create-workspace-modal.tsxindex 2961e94e3..c4ca25996 100644--- a/apps/web/src/components/common/sidebar/sections/workspaces/components/create-workspace-modal.tsx+++ b/apps/web/src/components/common/sidebar/sections/workspaces/components/create-workspace-modal.tsx@@ -41,8 +41,8 @@ export function CreateWorkspaceModal({return (<Dialog.Root open={open} onOpenChange={onClose}><Dialog.Portal>- <Dialog.Overlay className="fixed inset-0 bg-black/40 backdrop-blur-xs" />- <Dialog.Content className="fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-md">+ <Dialog.Overlay className="fixed inset-0 bg-black/40 backdrop-blur-xs z-40" />+ <Dialog.Content className="fixed z-50 left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-md"><div className="bg-white dark:bg-zinc-900 rounded-lg shadow-xl"><div className="flex items-center justify-between p-4 border-b border-zinc-200 dark:border-zinc-800"><Dialog.Title className="text-lg font-semibold text-zinc-900 dark:text-zinc-100">diff --git a/apps/web/src/components/task/create-task-modal.tsx b/apps/web/src/components/task/create-task-modal.tsxindex 681d3a303..1b0aa4be8 100644--- a/apps/web/src/components/task/create-task-modal.tsx+++ b/apps/web/src/components/task/create-task-modal.tsx@@ -91,8 +91,8 @@ export function CreateTaskModal({return (<Dialog.Root open={open} onOpenChange={onClose}><Dialog.Portal>- <Dialog.Overlay className="fixed inset-0 bg-black/40 backdrop-blur-sm" />- <Dialog.Content className="fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-md">+ <Dialog.Overlay className="fixed inset-0 bg-black/40 backdrop-blur-sm z-40" />+ <Dialog.Content className="fixed z-50 left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-md"><div className="bg-white dark:bg-zinc-900 rounded-lg shadow-xl"><div className="flex items-center justify-between p-4 border-b border-zinc-200 dark:border-zinc-800"><Dialog.Title className="text-lg font-semibold text-zinc-900 dark:text-zinc-100">diff --git a/apps/web/src/components/team/invite-team-member-modal.tsx b/apps/web/src/components/team/invite-team-member-modal.tsxindex 4c73275f9..37a61c386 100644--- a/apps/web/src/components/team/invite-team-member-modal.tsx+++ b/apps/web/src/components/team/invite-team-member-modal.tsx@@ -53,8 +53,8 @@ function InviteTeamMemberModal({ open, onClose }: Props) {return (<Dialog.Root open={open} onOpenChange={onClose}><Dialog.Portal>- <Dialog.Overlay className="fixed inset-0 bg-black/40 backdrop-blur-sm" />- <Dialog.Content className="fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-md">+ <Dialog.Overlay className="fixed inset-0 bg-black/40 backdrop-blur-sm z-40" />+ <Dialog.Content className="fixed z-50 left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-md"><div className="bg-white dark:bg-zinc-900 rounded-lg shadow-xl"><div className="flex items-center justify-between p-4 border-b border-zinc-200 dark:border-zinc-800"><Dialog.Title className="text-lg font-semibold text-zinc-900 dark:text-zinc-100">