Skip to content

Commit c1b7873

Browse files
committed
fix: update spacing & alignment in dialogs/drawers
1 parent f9ed62d commit c1b7873

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/components/confirm-dialog.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function ConfirmDialog(props: ConfirmDialogProps) {
4242
return (
4343
<AlertDialog {...actions}>
4444
<AlertDialogContent className={cn(className && className)}>
45-
<AlertDialogHeader>
45+
<AlertDialogHeader className='text-left'>
4646
<AlertDialogTitle>{title}</AlertDialogTitle>
4747
<AlertDialogDescription asChild>
4848
<div>{desc}</div>

src/features/tasks/components/tasks-import-dialog.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export function TasksImportDialog({ open, onOpenChange }: Props) {
7979
}}
8080
>
8181
<DialogContent className='sm:max-w-sm gap-2'>
82-
<DialogHeader>
82+
<DialogHeader className='text-left'>
8383
<DialogTitle>Import Tasks</DialogTitle>
8484
<DialogDescription>
8585
Import tasks quickly from a CSV file.

src/features/tasks/components/tasks-mutate-drawer.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export function TasksMutateDrawer({ open, onOpenChange, currentRow }: Props) {
7575
}}
7676
>
7777
<SheetContent className='flex flex-col'>
78-
<SheetHeader>
78+
<SheetHeader className='text-left'>
7979
<SheetTitle>{isUpdate ? 'Update' : 'Create'} Task</SheetTitle>
8080
<SheetDescription>
8181
{isUpdate

src/features/users/components/users-invite-dialog.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export function UsersInviteDialog({ open, onOpenChange }: Props) {
139139
/>
140140
</form>
141141
</Form>
142-
<DialogFooter>
142+
<DialogFooter className='gap-y-2'>
143143
<DialogClose asChild>
144144
<Button variant='outline'>Cancel</Button>
145145
</DialogClose>

0 commit comments

Comments
 (0)