From 86e3efb821700004fc7697a75d0d83b6840fab5b Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Thu, 28 Jan 2021 14:00:47 +0100 Subject: [PATCH] stuff --- Library/_res/BDFDB.raw.css | 1 + Plugins/FriendNotifications/FriendNotifications.plugin.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/_res/BDFDB.raw.css b/Library/_res/BDFDB.raw.css index 561788935d..a3f2380219 100644 --- a/Library/_res/BDFDB.raw.css +++ b/Library/_res/BDFDB.raw.css @@ -1114,6 +1114,7 @@ img:not([src]), img[src=""], img[src="null"] { margin-top: 10px; padding: 10px 10px 12px 10px; overflow: hidden; + max-width: 50vw; min-height: 24px; height: unset; opacity: 1; diff --git a/Plugins/FriendNotifications/FriendNotifications.plugin.js b/Plugins/FriendNotifications/FriendNotifications.plugin.js index 0e0329de72..b64af48e8f 100644 --- a/Plugins/FriendNotifications/FriendNotifications.plugin.js +++ b/Plugins/FriendNotifications/FriendNotifications.plugin.js @@ -789,7 +789,7 @@ module.exports = (_ => { className: `friendnotifications-${status.name}-toast friendnotifications-${id}-toast`, timeout: toastTime, avatar: avatar, - color: BDFDB.UserUtils.getStatusColor(status.name, true), + barColor: BDFDB.UserUtils.getStatusColor(status.name, true), onClick: openChannel, onShow: _ => { let notificationSound = notificationSounds["toast" + status.name] || {};