Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions frontend/src/lib/notify/Notify.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
</script>

{#if $notifications.length > 0}
<div class="toast toast-center prose z-20">
<div class="toast toast-center prose z-20 max-h-full">
{#if $notifications.length > 1}
<div class="flex justify-end" in:slide out:blur>
<BadgeButton onclick={removeAllNotifications}>{$t('notify.close_all')}<span class="ml-2">✕</span></BadgeButton>
</div>
{/if}
{#each $notifications as note (note)}
<div class="alert {note.category ?? ''}" in:slide out:blur>
<div class="alert {note.category ?? ''} overflow-y-auto" in:slide out:blur>
{note.message}
<button onclick={() => removeNotification(note)} class="btn btn-circle btn-sm btn-ghost">✕</button>
<button onclick={() => removeNotification(note)} class="btn btn-circle btn-sm btn-ghost sticky top-0 bottom-0">✕</button>
</div>
{/each}
</div>
Expand Down
Loading