feat: add nsfw barrier to images that have nsfw variant

This commit is contained in:
Sebin Nyshkim 2025-06-22 02:56:33 +02:00
parent 167f86922f
commit bf7f80f83f

View file

@ -21,6 +21,7 @@
©
<a :href="href" target="_blank" @text="artist"></a>
</figcaption>
<nsfw-barrier webc:if="nsfw"></nsfw-barrier>
</figure>
<style webc:scoped="ref-image">
@ -51,6 +52,12 @@
}
}
:host .nsfw-barrier {
grid-area: image;
justify-self: end;
align-self: end;
}
:host :where(picture, img) {
grid-area: image;
}