diff --git a/src/lib/components/archiveProject.svelte b/src/lib/components/archiveProject.svelte index a49e58403..30e7d18d0 100644 --- a/src/lib/components/archiveProject.svelte +++ b/src/lib/components/archiveProject.svelte @@ -10,7 +10,8 @@ Accordion, ActionMenu, Popover, - Layout + Layout, + Divider } from '@appwrite.io/pink-svelte'; import { IconAndroid, @@ -264,7 +265,11 @@ leadingIcon={IconSwitchHorizontal} on:click={() => handleMigrateProject(project)} >Migrate project +
+ +
handleDeleteProject(project)} >Delete project @@ -325,8 +330,8 @@ onSubmit={confirmDelete} bind:error={deleteError}> - This archived project will be deleted along with all of its metadata, stats, and other - resources. + The archived project {projectToDelete?.name} will be deleted along with all + of its metadata, stats, and other resources. This action is irreversible. @@ -357,6 +362,11 @@ .archive-projects-margin-top { margin-top: 36px; } + .action-menu-divider { + margin-inline: -1rem; + padding-block-start: 0.25rem; + padding-block-end: 0.25rem; + } .archive-projects-margin { margin-top: 16px;