We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00c6418 commit b04a367Copy full SHA for b04a367
1 file changed
src/lib/components/workflow/workflow-count-refresh.svelte
@@ -12,6 +12,8 @@
12
}
13
14
let { count }: Props = $props();
15
+
16
+ const duration = 300;
17
</script>
18
19
<Button
@@ -28,7 +30,11 @@
28
30
)}
29
31
>
32
{#key count}
- <span class="col-start-1 row-start-1">
33
+ <span
34
+ class="col-start-1 row-start-1"
35
+ in:fly={{ y: 8, duration }}
36
+ out:fly={{ y: -8, duration }}
37
+ >
38
{#if count > 0}
39
+{count.toLocaleString()}
40
{:else if count < 0}
0 commit comments