style: refactor dialog components to use OGDialogFooter for improved layout consistency

This commit is contained in:
Marco Beretta 2026-01-06 12:09:34 +01:00
parent b5094d8ce4
commit 1effbf1313
No known key found for this signature in database
GPG key ID: D918033D8E74CC11
4 changed files with 96 additions and 82 deletions

View file

@ -168,7 +168,7 @@ DialogHeader.displayName = 'DialogHeader';
const DialogFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (
<div
className={cn('flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2', className)}
className={cn('flex w-full flex-col-reverse gap-2 sm:flex-row sm:justify-end', className)}
{...props}
/>
);