Fix margin issue when loading popup shows (#900)

This commit is contained in:
Leendert de Borst
2025-06-11 09:59:44 +02:00
committed by Leendert de Borst
parent c673a20fd1
commit 1b84fd1dad

View File

@@ -316,7 +316,7 @@ const CredentialAddEdit: React.FC = () => {
}
return (
<form onSubmit={handleSubmit(onSubmit)} className="space-y-4">
<form onSubmit={handleSubmit(onSubmit)}>
<button type="submit" style={{ display: 'none' }} />
{(localLoading || isLoading) && (
<div className="fixed inset-0 flex flex-col justify-center items-center bg-white dark:bg-gray-900 bg-opacity-90 dark:bg-opacity-90 z-50">