From 054501874109ddb2c864e4fc65251bc25308c0e0 Mon Sep 17 00:00:00 2001 From: Shane Eilia Date: Tue, 25 Aug 2026 11:09:42 +1000 Subject: [PATCH] fix(web): stop composer slash menu covering dialogs and palettes The composer command drawer portals to document.body at z-70, while dialog, alert-dialog, command-palette, and sheet overlays sat at z-50. Opening any of them while the slash menu was up (for example New thread or Add project in the sidebar) rendered the modal underneath the menu. Raise the modal overlay layer to z-80: above the composer drawer (70), below toasts (100) and popups (130), so no other layering changes. Co-Authored-By: Claude Fable 5 --- apps/web/src/components/ui/alert-dialog.tsx | 2 +- apps/web/src/components/ui/command.tsx | 2 +- apps/web/src/components/ui/dialog-styles.ts | 2 +- apps/web/src/components/ui/dialog.tsx | 2 +- apps/web/src/components/ui/sheet.tsx | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/web/src/components/ui/alert-dialog.tsx b/apps/web/src/components/ui/alert-dialog.tsx index 4f57e920118b..6ea6b5af1b32 100644 --- a/apps/web/src/components/ui/alert-dialog.tsx +++ b/apps/web/src/components/ui/alert-dialog.tsx @@ -34,7 +34,7 @@ function AlertDialogViewport({ className, ...props }: AlertDialogPrimitive.Viewp return (