mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
Fix chat row menus and delete confirmation hidden behind the mobile session sheet
The picker list menu sat at z-200 and the destructive confirm dialog at z-70, both below the bottom sheet overlay at z-250, so on a phone neither the Chats tab row menu nor the chat delete confirmation could be tapped. Raise both above the sheet the way other menus over sheets already do.
This commit is contained in:
1 parent
8af2c189e9
commit
2f10f12e12
2 files changed
+2
-2
No files matched your search
@@ -154,7 +154,7 @@ const SessionPickerRowItem = memo(function SessionPickerRowItem({
|
||||
<MoreHorizontal className="h-4 w-4" />
|
||||
</Button>
|
||||
</DropdownMenuTrigger>
|
||||
<DropdownMenuContent align="end" className="z-[200]" onClick={(event) => event.stopPropagation()}>
|
||||
<DropdownMenuContent align="end" className="z-[300]" onClick={(event) => event.stopPropagation()}>
|
||||
<DropdownMenuItem onClick={() => onTogglePin(row)}>
|
||||
{isPinned ? <PinOff className="h-4 w-4 mr-2" /> : <Pin className="h-4 w-4 mr-2" />}
|
||||
{isPinned ? 'Unpin' : 'Pin'}
|
||||
|
||||
@@ -35,7 +35,7 @@ export function ConfirmDestructiveDialog({
|
||||
}: ConfirmDestructiveDialogProps) {
|
||||
return (
|
||||
<Dialog open={open} onOpenChange={onOpenChange}>
|
||||
<DialogContent className="max-w-[90%] sm:max-w-sm">
|
||||
<DialogContent className="z-[300] max-w-[90%] sm:max-w-sm" overlayClassName="z-[300]">
|
||||
<DialogHeader>
|
||||
<DialogTitle>{title}</DialogTitle>
|
||||
<DialogDescription>{description}</DialogDescription>
|
||||
|
||||
Reference in new issue
Block a user