aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/blurNsfw.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/blurNsfw.ts b/src/plugins/blurNsfw.ts
index de4eb0c..8f4178f 100644
--- a/src/plugins/blurNsfw.ts
+++ b/src/plugins/blurNsfw.ts
@@ -24,11 +24,13 @@ let style: HTMLStyleElement;
function setCss() {
style.textContent = `
- .vc-nsfw-img [class^=imageWrapper] img {
+ .vc-nsfw-img [class^=imageWrapper] img,
+ .vc-nsfw-img [class^=wrapperPaused] video {
filter: blur(${Settings.plugins.BlurNSFW.blurAmount}px);
transition: filter 0.2s;
}
- .vc-nsfw-img [class^=imageWrapper]:hover img {
+ .vc-nsfw-img [class^=imageWrapper]:hover img,
+ .vc-nsfw-img [class^=wrapperPaused]:hover video {
filter: unset;
}
`;