MessageLogger: fix not blurring deleted spoilers

This commit is contained in:
Vendicated 2024-07-05 17:07:54 +02:00
parent 93dc880bc0
commit c3f7950f2e
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -8,11 +8,15 @@
.emoji, .emoji,
[data-type="sticker"], [data-type="sticker"],
iframe, iframe,
.messagelogger-deleted-attachment:not([class*="hiddenAttachment_"]), .messagelogger-deleted-attachment,
[class|="inlineMediaEmbed"] [class|="inlineMediaEmbed"]
) { ) {
filter: grayscale(1) !important; filter: grayscale(1) !important;
transition: 150ms filter ease-in-out; transition: 150ms filter ease-in-out;
&[class*="hiddenMosaicItem_"] {
filter: grayscale(1) blur(var(--custom-message-attachment-spoiler-blur-radius, 44px)) !important;
}
} }
.messagelogger-deleted .messagelogger-deleted
@ -23,8 +27,7 @@
iframe, iframe,
.messagelogger-deleted-attachment, .messagelogger-deleted-attachment,
[class|="inlineMediaEmbed"] [class|="inlineMediaEmbed"]
):hover, ):hover {
.messagelogger-deleted {
filter: grayscale(0) !important; filter: grayscale(0) !important;
} }