HideAttachments: fix broken css (#1707)
This commit is contained in:
parent
a4cadc03d8
commit
77bfaf38a5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue