Skip to content

Database diagrams editor that allows you to visualize and design your DB with a single query.

fix(dialogs): fix footer position on dialogs (#470)

Guy Ben-Aharon2309306ef590
diff --git a/src/components/dialog/dialog.tsx b/src/components/dialog/dialog.tsx
index ad513c93..94fc7134 100644
--- a/src/components/dialog/dialog.tsx
+++ b/src/components/dialog/dialog.tsx
@@ -117,7 +117,10 @@ const DialogInternalContent = React.forwardRef<
>(({ className, ...props }, ref) => (
<ScrollArea
ref={ref}
- className={cn('flex max-h-screen flex-col overflow-y-auto', className)}
+ className={cn(
+ 'flex flex-1 max-h-screen flex-col overflow-y-auto',
+ className
+ )}
{...props}
/>
));