Update ImageUtilities.plugin.js

This commit is contained in:
Mirco Wittrien 2022-08-10 16:02:19 +02:00
parent c60a9567fc
commit 8824a224f2
1 changed files with 5 additions and 14 deletions

View File

@ -2,7 +2,7 @@
* @name ImageUtilities * @name ImageUtilities
* @author DevilBro * @author DevilBro
* @authorId 278543574059057154 * @authorId 278543574059057154
* @version 4.7.9 * @version 4.8.0
* @description Adds several Utilities for Images/Videos (Gallery, Download, Reverse Search, Zoom, Copy, etc.) * @description Adds several Utilities for Images/Videos (Gallery, Download, Reverse Search, Zoom, Copy, etc.)
* @invite Jx3TjNS * @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien * @donate https://www.paypal.me/MircoWittrien
@ -17,7 +17,7 @@ module.exports = (_ => {
"info": { "info": {
"name": "ImageUtilities", "name": "ImageUtilities",
"author": "DevilBro", "author": "DevilBro",
"version": "4.7.9", "version": "4.8.0",
"description": "Adds several Utilities for Images/Videos (Gallery, Download, Reverse Search, Zoom, Copy, etc.)" "description": "Adds several Utilities for Images/Videos (Gallery, Download, Reverse Search, Zoom, Copy, etc.)"
} }
}; };
@ -270,18 +270,6 @@ module.exports = (_ => {
}; };
this.css = ` this.css = `
${BDFDB.dotCN.messageattachment} {
display: grid;
position: relative;
}
${BDFDB.dotCNS.messageattachment + BDFDB.dotCN.messageattachmentremovebutton} {
position: absolute;
right: -22px;
z-index: 1;
}
${BDFDB.dotCN.messageattachment}:hover ${BDFDB.dotCN.messageattachmentremovebutton} {
opacity: 1;
}
${BDFDB.dotCN._imageutilitiesimagedetails} { ${BDFDB.dotCN._imageutilitiesimagedetails} {
display: inline-flex; display: inline-flex;
} }
@ -429,6 +417,9 @@ module.exports = (_ => {
(!altText || altText.length < 50) && details (!altText || altText.length < 50) && details
] ]
}); });
e.returnValue.props.children = BDFDB.ReactUtils.createElement("div", {
children: e.returnValue.props.children
});
} }
} }
}); });