This commit is contained in:
Mirco Wittrien 2021-03-05 13:52:25 +01:00
parent b52c7281f3
commit 5e01e8d362
2 changed files with 21 additions and 6 deletions

View File

@ -2,7 +2,7 @@
* @name BDFDB
* @author DevilBro
* @authorId 278543574059057154
* @version 1.4.2
* @version 1.4.3
* @description Required Library for DevilBro's Plugins
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -19,7 +19,7 @@ module.exports = (_ => {
"info": {
"name": "BDFDB",
"author": "DevilBro",
"version": "1.4.2",
"version": "1.4.3",
"description": "Required Library for DevilBro's Plugins"
},
"rawUrl": "https://mwittrien.github.io/BetterDiscordAddons/Library/0BDFDB.plugin.js"
@ -705,11 +705,10 @@ module.exports = (_ => {
}],
onClose: _ => {vanishObserver.disconnect();}
});
updateNotice.style.setProperty("z-index", "100000", "important");
updateNotice.style.setProperty("display", "block", "important");
updateNotice.style.setProperty("position", "relative", "important");
updateNotice.style.setProperty("visibility", "visible", "important");
updateNotice.style.setProperty("opacity", "1", "important");
updateNotice.style.setProperty("z-index", "100000", "important");
let reloadButton = updateNotice.querySelector(BDFDB.dotCN.noticeupdatebuttonreload);
if (reloadButton) BDFDB.DOMUtils.hide(reloadButton);
}
@ -1433,7 +1432,7 @@ module.exports = (_ => {
else BDFDB.DOMUtils.addClass(notice, BDFDB.disCN.noticedefault);
}
if (config.forceStyle) {
notice.style.setProperty("display", "block", "important");
notice.style.setProperty("display", "flex", "important");
notice.style.setProperty("height", "36px", "important");
notice.style.setProperty("min-width", "70vw", "important");
notice.style.setProperty("left", "unset", "important");

View File

@ -885,6 +885,9 @@ img:not([src]), img[src=""], img[src="null"] {
}
[REPLACE_CLASS_noticewrapper] {
display: flex;
justify-content: center;
align-items: center;
height: 36px !important;
border-radius: 0 !important;
transition: height 10s ease !important;
@ -894,13 +897,26 @@ img:not([src]), img[src=""], img[src="null"] {
overflow: hidden !important;
}
[REPLACE_CLASS_noticetext] {
display: inline-flex;
display: flex;
flex: 0 1 auto;
white-space: pre;
overflow: hidden;
}
[REPLACE_CLASS_noticewrapper] [REPLACE_CLASS_noticeplatformicon] {
display: flex;
flex: 0 0 auto;
position: static;
margin: 0 10px 0 0;
}
[REPLACE_CLASS_noticewrapper] svg[REPLACE_CLASS_noticeplatformicon] {
max-height: 28px;
width: unset;
}
[REPLACE_CLASS_noticewrapper] [REPLACE_CLASS_noticebutton] {
display: flex;
flex: 0 0 auto;
position: static;
}
#pluginNotice .notice-message {
white-space: pre;