mirror of
https://github.com/KevinMidboe/planetposen-frontend.git
synced 2025-10-29 13:10:12 +00:00
Error stack component displays errors as card stack with animation
This commit is contained in:
@@ -28,7 +28,8 @@
|
|||||||
class="error-card"
|
class="error-card"
|
||||||
data-status="{index === currentCard ? 'current' : 'waiting'}"
|
data-status="{index === currentCard ? 'current' : 'waiting'}"
|
||||||
style="{offsetTop(index)}"
|
style="{offsetTop(index)}"
|
||||||
in:slide out:fly="{{ y: 100, duration: flyoutDuration }}"
|
in:slide
|
||||||
|
out:fly="{{ y: 100, duration: flyoutDuration }}"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
class="dismiss"
|
class="dismiss"
|
||||||
|
|||||||
Reference in New Issue
Block a user