From a936283be1ba9446381db3cac0956c01d6f61212 Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Thu, 29 Dec 2022 23:36:55 +0100 Subject: [PATCH] Error stack component displays errors as card stack with animation --- src/lib/components/ErrorStack.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/components/ErrorStack.svelte b/src/lib/components/ErrorStack.svelte index adb9b5b..89f65fc 100644 --- a/src/lib/components/ErrorStack.svelte +++ b/src/lib/components/ErrorStack.svelte @@ -28,7 +28,8 @@ class="error-card" data-status="{index === currentCard ? 'current' : 'waiting'}" style="{offsetTop(index)}" - in:slide out:fly="{{ y: 100, duration: flyoutDuration }}" + in:slide + out:fly="{{ y: 100, duration: flyoutDuration }}" >