1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-29 09:49:38 +02:00

chore: Update app version to v0.5.1 and fix toast component styling

This commit is contained in:
Sean Morley 2024-08-14 22:17:43 -04:00
parent 25c6d3fce3
commit a1094f805a
6 changed files with 117 additions and 72 deletions

View file

@ -11,8 +11,25 @@
<div class="toast toast-top toast-end z-50 min-w-20">
{#each toastList as { type, message, id, duration }}
<div class="alert alert-{type}">
<span>{message}</span>
</div>
{#if type == 'success'}
<div class="alert alert-success">
<span>{message}</span>
</div>
{/if}
{#if type == 'error'}
<div class="alert alert-error">
<span>{message}</span>
</div>
{/if}
{#if type == 'info'}
<div class="alert alert-info">
<span>{message}</span>
</div>
{/if}
{#if type == 'warning'}
<div class="alert alert-warning">
<span>{message}</span>
</div>
{/if}
{/each}
</div>