Skip to content

Commit

Permalink
add action buttons on modal
Browse files Browse the repository at this point in the history
  • Loading branch information
birdpump committed May 10, 2024
1 parent 3478f61 commit c3e937e
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/routes/(admin)/admin/edit/Editmodal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@
margin-bottom: 20px;
}
.edit-cont {
display: flex;
justify-content: center;
Expand Down Expand Up @@ -160,6 +159,18 @@
transition-duration: 150ms;
color: var(--text);
}
.action-cont{
display: flex;
align-items: center;
justify-content: center;
height: 35px;
width: 100%;
}
.action-btn {
}
</style>


Expand Down Expand Up @@ -233,6 +244,11 @@

<button class="submit" on:click={submit}>Submit</button>


<div class="action-cont">
<div class="action-btn material-symbols-outlined" on:click={() => dialog.close()}>delete</div>
<div class="action-btn material-symbols-outlined" on:click={() => dialog.close()}>person_remove</div>
</div>
</div>
{/if}

Expand Down

0 comments on commit c3e937e

Please sign in to comment.