From 77bfaf38a551f7adff3cfb0f30fe734825a88f0f Mon Sep 17 00:00:00 2001 From: AutumnVN Date: Wed, 6 Sep 2023 23:51:48 +0700 Subject: [PATCH] HideAttachments: fix broken css (#1707) --- src/plugins/hideAttachments.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/hideAttachments.tsx b/src/plugins/hideAttachments.tsx index 36c34e46..fe7f4ab9 100644 --- a/src/plugins/hideAttachments.tsx +++ b/src/plugins/hideAttachments.tsx @@ -72,7 +72,7 @@ export default definePlugin({ async buildCss() { const elements = [...hiddenMessages].map(id => `#message-accessories-${id}`).join(","); style.textContent = ` - :is(${elements}) :is([class*="embedWrapper", [class*"clickableSticker"]) { + :is(${elements}) :is([class*="embedWrapper"], [class*="clickableSticker"]) { /* important is not necessary, but add it to make sure bad themes won't break it */ display: none !important; }