fix: dialog overflow when creating a user (#3422)

This commit is contained in:
martin
2023-07-25 16:29:40 +02:00
committed by GitHub
parent 05fa3092bf
commit 1c5926553a
2 changed files with 4 additions and 3 deletions

View File

@@ -110,7 +110,7 @@
<section>
{#if shouldShowCreateUserForm}
<FullScreenModal on:clickOutside={() => (shouldShowCreateUserForm = false)}>
<CreateUserForm on:user-created={onUserCreated} />
<CreateUserForm on:user-created={onUserCreated} on:cancel={() => (shouldShowCreateUserForm = false)} />
</FullScreenModal>
{/if}