fix: respect nsfw rules in compact mode
This commit is contained in:
1 parent
1401e30a09
commit
6291e7e3d3
5 files changed
+64
-15
No files matched your search
@@ -57,11 +57,11 @@
|
||||
src={bestImageURL(post, false, -1)}
|
||||
loading="lazy"
|
||||
class="max-h-[inherit] max-w-full h-auto z-30
|
||||
transition-opacity duration-500 object-contain mx-auto
|
||||
transition-opacity duration-500 object-contain mx-auto blur-[64px]
|
||||
{imageLoaded === false ? 'opacity-0' : 'opacity-100'}"
|
||||
width={512}
|
||||
height={300}
|
||||
class:blur-3xl={blur}
|
||||
class:blur-[64px]={blur}
|
||||
alt={post.alt_text ?? ''}
|
||||
on:load={() => (imageLoaded = true)}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user