Improve lightbox slightly

This commit is contained in:
space-nuko
2023-05-12 21:26:00 -05:00
parent 9ac64de811
commit ff52ef1bba
3 changed files with 7 additions and 5 deletions

View File

@@ -16,7 +16,7 @@
<slot name="header" />
<slot />
<!-- svelte-ignore a11y-autofocus -->
<button autofocus on:click={() => dialog.close()}>close modal</button>
<button autofocus on:click={() => dialog.close()}>Close</button>
</div>
</dialog>