This commit is contained in:
yyh 2026-04-14 15:20:01 +08:00
parent df51d963ef
commit eaab847464
No known key found for this signature in database
2 changed files with 2 additions and 8 deletions

View File

@ -203,6 +203,7 @@ __all__ = [
"saved_message",
"setup",
"site",
"socketio_workflow",
"spec",
"statistic",
"tags",

View File

@ -83,16 +83,9 @@ export function DialogContent({
overlayClassName,
backdropProps,
}: DialogContentProps) {
const backdropContentProps = backdropProps
? (({ className: _className, ...rest }) => rest)(backdropProps)
: {}
return (
<DialogPortal>
<DialogBackdrop
{...backdropContentProps}
className={cn(overlayClassName, backdropProps?.className)}
/>
<DialogBackdrop {...backdropProps} className={cn(overlayClassName, backdropProps?.className)} />
<DialogPopup
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',