misc: update post page
This commit is contained in:
1 parent
0ebb4df0f7
commit
8e6d705f2b
3 files changed
+52
-47
No files matched your search
@@ -32,7 +32,12 @@
|
||||
<StickyCard class="w-full {$$props.class} text-slate-600 dark:text-zinc-400">
|
||||
<div class="flex flex-row gap-3 items-center">
|
||||
{#if site.site.icon}
|
||||
<Avatar width={32} url={site.site.icon} alt={site.site.name} />
|
||||
<Avatar
|
||||
width={32}
|
||||
url={site.site.icon}
|
||||
alt={site.site.name}
|
||||
circle={false}
|
||||
/>
|
||||
{/if}
|
||||
<div class="flex flex-col">
|
||||
<h1 class="font-bold text-base">{site.site.name}</h1>
|
||||
|
||||
@@ -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