misc: tweak animation curves
This commit is contained in:
1 parent
aef676c8b5
commit
1771aa056e
6 files changed
+20
-12
No files matched your search
@@ -17,6 +17,7 @@
|
||||
import { profile } from '$lib/auth.js'
|
||||
import { Button } from 'mono-svelte'
|
||||
import { afterNavigate } from '$app/navigation'
|
||||
import { backOut } from 'svelte/easing'
|
||||
|
||||
export let nodes: CommentNodeI[]
|
||||
export let isParent: boolean
|
||||
@@ -106,7 +107,7 @@
|
||||
</script>
|
||||
|
||||
<ul
|
||||
in:fly={{ opacity: 0, y: -4 }}
|
||||
in:fly={{ opacity: 0, y: -4, duration: 400, easing: backOut }}
|
||||
class={isParent
|
||||
? 'divide-y dark:divide-zinc-800 divide-slate-100'
|
||||
: 'pl-3.5 border-l border-slate-200 dark:border-zinc-800 my-1'}
|
||||
|
||||
Reference in new issue
Block a user