mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-30 15:16:45 +08:00
Fix: Api key modal bug (#12213)
### What problem does this PR solve? Fix: Api key modal bug ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -170,7 +170,7 @@ const Modal: ModalType = ({
|
||||
<DialogPrimitive.Root open={open} onOpenChange={handleChange}>
|
||||
<DialogPrimitive.Portal>
|
||||
<DialogPrimitive.Overlay
|
||||
className="fixed inset-0 z-50 bg-bg-card backdrop-blur-[1px] flex items-center justify-center p-4"
|
||||
className="fixed inset-0 z-[1000] bg-bg-card backdrop-blur-[1px] flex items-center justify-center p-4"
|
||||
onClick={() => maskClosable && onOpenChange?.(false)}
|
||||
>
|
||||
<DialogPrimitive.Content
|
||||
@ -195,7 +195,7 @@ const Modal: ModalType = ({
|
||||
)}
|
||||
>
|
||||
{title && (
|
||||
<DialogPrimitive.Title className="text-lg font-medium text-foreground">
|
||||
<DialogPrimitive.Title className="text-lg font-medium text-foreground w-full">
|
||||
{title}
|
||||
</DialogPrimitive.Title>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user