diff options
author | AutumnVN <autumnvnchino@gmail.com> | 2023-09-06 23:51:48 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-06 18:51:48 +0200 |
commit | 77bfaf38a551f7adff3cfb0f30fe734825a88f0f (patch) | |
tree | ccf9bcf80800c5b7f6bb187db58ee3e3b0982fa6 /src | |
parent | a4cadc03d861f785c6624d7684a3790547a315af (diff) | |
download | Vencord-77bfaf38a551f7adff3cfb0f30fe734825a88f0f.tar.gz Vencord-77bfaf38a551f7adff3cfb0f30fe734825a88f0f.tar.bz2 Vencord-77bfaf38a551f7adff3cfb0f30fe734825a88f0f.zip |
HideAttachments: fix broken css (#1707)
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/hideAttachments.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/hideAttachments.tsx b/src/plugins/hideAttachments.tsx index 36c34e4..fe7f4ab 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; } |