feat: ✨ add nsfw barrier to images that have nsfw variant
This commit is contained in:
parent
167f86922f
commit
bf7f80f83f
1 changed files with 7 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
||||||
©
|
©
|
||||||
<a :href="href" target="_blank" @text="artist"></a>
|
<a :href="href" target="_blank" @text="artist"></a>
|
||||||
</figcaption>
|
</figcaption>
|
||||||
|
<nsfw-barrier webc:if="nsfw"></nsfw-barrier>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
<style webc:scoped="ref-image">
|
<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) {
|
:host :where(picture, img) {
|
||||||
grid-area: image;
|
grid-area: image;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue