diff --git a/src/plugins/hideAttachments.tsx b/src/plugins/hideAttachments.tsx index 36c34e464..fe7f4ab92 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; }