mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Merge pull request #2827 from appwrite/fix-notifications
Fix: notif animation
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<script lang="ts">
|
||||
import { flip } from 'svelte/animate';
|
||||
import { fly } from 'svelte/transition';
|
||||
import { Layout, Toast } from '@appwrite.io/pink-svelte';
|
||||
import { dismissNotification, notifications } from '../stores/notifications';
|
||||
@@ -9,7 +8,7 @@
|
||||
<section>
|
||||
<Layout.Stack gap="s">
|
||||
{#each $notifications as notification (notification.id)}
|
||||
<span animate:flip={{ duration: 500 }} transition:fly|global={{ x: 50 }}>
|
||||
<span transition:fly|global={{ x: 50 }}>
|
||||
<Toast
|
||||
isHtml={notification.isHtml}
|
||||
title={notification.title}
|
||||
|
||||
Reference in New Issue
Block a user