Просмотр исходного кода

fix: update heading alignment to left in user dialogs

satnaing 1 год назад
Родитель
Сommit
8e2c87115e

+ 1 - 1
src/features/users/components/users-action-dialog.tsx

@@ -142,7 +142,7 @@ export function UsersActionDialog({ currentRow, open, onOpenChange }: Props) {
       }}
     >
       <DialogContent className='sm:max-w-lg'>
-        <DialogHeader>
+        <DialogHeader className='text-left'>
           <DialogTitle>{isEdit ? 'Edit User' : 'Add New User'}</DialogTitle>
           <DialogDescription>
             {isEdit ? 'Update the user here. ' : 'Create new user here. '}

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

@@ -69,7 +69,7 @@ export function UsersInviteDialog({ open, onOpenChange }: Props) {
       }}
     >
       <DialogContent className='sm:max-w-md'>
-        <DialogHeader>
+        <DialogHeader className='text-left'>
           <DialogTitle className='flex items-center gap-2'>
             <IconMailPlus /> Invite User
           </DialogTitle>