mirror of
https://github.com/langgenius/dify.git
synced 2026-04-27 11:06:46 +08:00
fix
This commit is contained in:
parent
df51d963ef
commit
eaab847464
@ -203,6 +203,7 @@ __all__ = [
|
|||||||
"saved_message",
|
"saved_message",
|
||||||
"setup",
|
"setup",
|
||||||
"site",
|
"site",
|
||||||
|
"socketio_workflow",
|
||||||
"spec",
|
"spec",
|
||||||
"statistic",
|
"statistic",
|
||||||
"tags",
|
"tags",
|
||||||
|
|||||||
@ -83,16 +83,9 @@ export function DialogContent({
|
|||||||
overlayClassName,
|
overlayClassName,
|
||||||
backdropProps,
|
backdropProps,
|
||||||
}: DialogContentProps) {
|
}: DialogContentProps) {
|
||||||
const backdropContentProps = backdropProps
|
|
||||||
? (({ className: _className, ...rest }) => rest)(backdropProps)
|
|
||||||
: {}
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<DialogPortal>
|
<DialogPortal>
|
||||||
<DialogBackdrop
|
<DialogBackdrop {...backdropProps} className={cn(overlayClassName, backdropProps?.className)} />
|
||||||
{...backdropContentProps}
|
|
||||||
className={cn(overlayClassName, backdropProps?.className)}
|
|
||||||
/>
|
|
||||||
<DialogPopup
|
<DialogPopup
|
||||||
className={cn(
|
className={cn(
|
||||||
'top-1/2 left-1/2 max-h-[80dvh] w-[480px] max-w-[calc(100vw-2rem)] -translate-x-1/2 -translate-y-1/2 overflow-y-auto overscroll-contain rounded-2xl border-[0.5px] border-components-panel-border bg-components-panel-bg p-6 shadow-xl',
|
'top-1/2 left-1/2 max-h-[80dvh] w-[480px] max-w-[calc(100vw-2rem)] -translate-x-1/2 -translate-y-1/2 overflow-y-auto overscroll-contain rounded-2xl border-[0.5px] border-components-panel-border bg-components-panel-bg p-6 shadow-xl',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user