#Better image spoilers
1 messages · Page 1 of 1 (latest)
miku
praise be miku
Yeah I only designed it for them
Didn’t see a point with doing it for other spoiler types
If desired I probably could though
hopefully it get fix :>
updated the snippet to work on the latest discord update
is an update possible?
:root {
--spoiler-blur-hover: 8px;
}
[class*="attachmentContainer_"][class*="spoilerContent_"] {
background-color: unset;
&[class*="hiddenSpoiler_"] {
> [class*="spoilerWarning_"] {
transition: opacity 50ms ease;
}
[class*="imageContent_"] {
filter: none !important;
[class*="imageWrapper_"] > [class*="clickableWrapper_"] {
filter: blur(var(--custom-message-attachment-spoiler-blur-radius));
transition: filter 80ms ease-out;
}
}
&:hover {
> [class*="spoilerWarning_"] {
opacity: 0.2;
}
[class*="imageWrapper_"] > [class*="clickableWrapper_"] {
filter: blur(var(--spoiler-blur-hover));
}
}
}
}
should work
@mortal geyser @barren knot
Yes, it works, thank you.
:0