misc: update post page
This commit is contained in:
1 parent
0ebb4df0f7
commit
8e6d705f2b
3 files changed
+52
-47
No files matched your search
@@ -12,7 +12,7 @@
|
||||
import { page } from '$app/stores'
|
||||
import { Button } from 'mono-svelte'
|
||||
import { Icon, XMark } from 'svelte-hero-icons'
|
||||
import { expoOut } from 'svelte/easing'
|
||||
import { backOut, expoOut } from 'svelte/easing'
|
||||
import { fade, scale } from 'svelte/transition'
|
||||
|
||||
/**
|
||||
@@ -40,7 +40,7 @@
|
||||
height={400}
|
||||
src={$page.state.openImage}
|
||||
class="w-full h-auto object-contain max-w-screen-sm mx-auto my-auto overscroll-contain bg-white dark:bg-zinc-900"
|
||||
transition:scale={{ start: 0.9, easing: expoOut }}
|
||||
transition:scale={{ start: 0.9, easing: backOut }}
|
||||
{alt}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user