Skip to content

Commit

Permalink
fix: update spacing & alignment in dialogs/drawers
Browse files Browse the repository at this point in the history
  • Loading branch information
satnaing committed Dec 12, 2024
1 parent f9ed62d commit c1b7873
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/confirm-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function ConfirmDialog(props: ConfirmDialogProps) {
return (
<AlertDialog {...actions}>
<AlertDialogContent className={cn(className && className)}>
<AlertDialogHeader>
<AlertDialogHeader className='text-left'>
<AlertDialogTitle>{title}</AlertDialogTitle>
<AlertDialogDescription asChild>
<div>{desc}</div>
Expand Down
2 changes: 1 addition & 1 deletion src/features/tasks/components/tasks-import-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export function TasksImportDialog({ open, onOpenChange }: Props) {
}}
>
<DialogContent className='sm:max-w-sm gap-2'>
<DialogHeader>
<DialogHeader className='text-left'>
<DialogTitle>Import Tasks</DialogTitle>
<DialogDescription>
Import tasks quickly from a CSV file.
Expand Down
2 changes: 1 addition & 1 deletion src/features/tasks/components/tasks-mutate-drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export function TasksMutateDrawer({ open, onOpenChange, currentRow }: Props) {
}}
>
<SheetContent className='flex flex-col'>
<SheetHeader>
<SheetHeader className='text-left'>
<SheetTitle>{isUpdate ? 'Update' : 'Create'} Task</SheetTitle>
<SheetDescription>
{isUpdate
Expand Down
2 changes: 1 addition & 1 deletion src/features/users/components/users-invite-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export function UsersInviteDialog({ open, onOpenChange }: Props) {
/>
</form>
</Form>
<DialogFooter>
<DialogFooter className='gap-y-2'>
<DialogClose asChild>
<Button variant='outline'>Cancel</Button>
</DialogClose>
Expand Down

0 comments on commit c1b7873

Please sign in to comment.