Skip to content

Commit 1450eb5

Browse files
committed
fix(user-modal): fix the height of user modal while editing user
1 parent 127a0e0 commit 1450eb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dashboard/src/components/dialogs/user-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,7 @@ export default function UserModal({ isDialogOpen, onOpenChange, form, editingUse
12171217

12181218
return (
12191219
<Dialog open={isDialogOpen} onOpenChange={handleModalOpenChange}>
1220-
<DialogContent className={`lg:min-w-[900px] ${editingUser ? 'h-full sm:h-auto' : 'h-auto'}`}>
1220+
<DialogContent className={`lg:min-w-[900px] h-auto`}>
12211221
<DialogHeader>
12221222
<DialogTitle className={`${dir === 'rtl' ? 'text-right' : 'text-left'}`}>
12231223
{editingUser ? t('userDialog.editUser', { defaultValue: 'Edit User' }) : t('createUser', { defaultValue: 'Create User' })}

0 commit comments

Comments
 (0)