fix preview dialog and waveform behavior
This commit is contained in:
@@ -57,15 +57,17 @@ function DialogContent({
|
||||
showCloseButton = true,
|
||||
portalContainer,
|
||||
contained = false,
|
||||
overlayClassName,
|
||||
...props
|
||||
}: React.ComponentProps<typeof DialogPrimitive.Content> & {
|
||||
showCloseButton?: boolean
|
||||
portalContainer?: Element | DocumentFragment | null
|
||||
contained?: boolean
|
||||
overlayClassName?: string
|
||||
}) {
|
||||
return (
|
||||
<DialogPortal container={portalContainer}>
|
||||
<DialogOverlay contained={contained} />
|
||||
<DialogOverlay contained={contained} className={overlayClassName} />
|
||||
<DialogPrimitive.Content
|
||||
data-slot="dialog-content"
|
||||
className={cn(
|
||||
|
||||
Reference in New Issue
Block a user