pages s3
This commit is contained in:
parent
a7a03927dd
commit
3062d92eaa
@ -91,6 +91,8 @@ export function NotesDialog({ open, onOpenChange }: NotesDialogProps) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Dialog open={open} onOpenChange={onOpenChange}>
|
<Dialog open={open} onOpenChange={onOpenChange}>
|
||||||
|
<DialogPortal>
|
||||||
|
<DialogOverlay />
|
||||||
<DialogContent className="sm:max-w-[500px] bg-white border-gray-200">
|
<DialogContent className="sm:max-w-[500px] bg-white border-gray-200">
|
||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle className="text-gray-900">Quick Note</DialogTitle>
|
<DialogTitle className="text-gray-900">Quick Note</DialogTitle>
|
||||||
@ -151,7 +153,12 @@ export function NotesDialog({ open, onOpenChange }: NotesDialogProps) {
|
|||||||
)}
|
)}
|
||||||
</Button>
|
</Button>
|
||||||
</DialogFooter>
|
</DialogFooter>
|
||||||
|
<DialogPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground">
|
||||||
|
<X className="h-4 w-4 text-gray-500" />
|
||||||
|
<span className="sr-only">Close</span>
|
||||||
|
</DialogPrimitive.Close>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
|
</DialogPortal>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user