feat: add an inage placeholder
This commit is contained in:
1 parent
28f96158d8
commit
b2c775bb98
1 file changed
+3
-1
@@ -36,8 +36,10 @@
|
||||
<Icon src={XMark} size="16" mini slot="prefix" />
|
||||
</Button>
|
||||
<img
|
||||
width={400}
|
||||
height={400}
|
||||
src={url}
|
||||
class="w-full h-full object-contain max-w-screen-sm mx-auto my-auto overscroll-contain"
|
||||
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 }}
|
||||
{alt}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user