stuff
This commit is contained in:
parent
50dbdc5621
commit
f1928105c1
|
@ -1185,7 +1185,7 @@ module.exports = (_ => {
|
|||
if (config.customIcon) {
|
||||
let iconInner = BDFDB.DOMUtils.create(config.customIcon)
|
||||
let icon = BDFDB.DOMUtils.create(`<i></i>`);
|
||||
if (iconInner.tagName == "span" && !iconinner.firstElementChild) icon.style.setProperty("background", `url(${config.customIcon}) center/cover no-repeat`);
|
||||
if (iconInner.tagName == "span" && !iconInner.firstElementChild) icon.style.setProperty("background", `url(${config.customIcon}) center/cover no-repeat`);
|
||||
else icon.appendChild(iconInner);
|
||||
BDFDB.DOMUtils.addClass(icon, BDFDB.disCN.noticeplatformicon);
|
||||
BDFDB.DOMUtils.removeClass(icon, BDFDB.disCN.noticeicon);
|
||||
|
|
|
@ -1093,6 +1093,8 @@ img:not([src]), img[src=""], img[src="null"] {
|
|||
}
|
||||
}
|
||||
[REPLACE_CLASS_toast] {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: 5px;
|
||||
box-shadow: var(--elevation-medium);
|
||||
margin-top: 10px;
|
||||
|
@ -1117,10 +1119,6 @@ img:not([src]), img[src=""], img[src="null"] {
|
|||
opacity: 1;
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
[REPLACE_CLASS_toasttext] {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
[REPLACE_CLASS_toastavatar] {
|
||||
margin-right: 6px;
|
||||
width: 24px;
|
||||
|
|
Loading…
Reference in New Issue