From 8e4d11b113ade24e0120966d9555b28f71a27419 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Mon, 17 May 2021 11:57:52 +0200 Subject: [PATCH] stuff --- Library/0BDFDB.plugin.js | 2 +- Library/_res/BDFDB.raw.css | 1 + Themes/BlurpleRecolor/BlurpleRecolor.css | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index afe437e876..7795bf9c14 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -2872,7 +2872,7 @@ module.exports = (_ => { }; BDFDB.UserUtils.getAvatar = function (id = BDFDB.UserUtils.me.id) { let user = LibraryModules.UserStore.getUser(id); - if (!user) return window.location.origin + "/assets/322c936a8c8be1b803cd94861bdfa868.png"; + if (!user) return window.location.origin + "/assets/1f0bfc0865d324c2587920a7d80c609b.png"; else return ((user.avatar ? "" : window.location.origin) + LibraryModules.IconUtils.getUserAvatarURL(user)).split("?")[0]; }; BDFDB.UserUtils.can = function (permission, id = BDFDB.UserUtils.me.id, channelId = LibraryModules.LastChannelStore.getChannelId()) { diff --git a/Library/_res/BDFDB.raw.css b/Library/_res/BDFDB.raw.css index 0d5f71d5fc..d7b1857249 100644 --- a/Library/_res/BDFDB.raw.css +++ b/Library/_res/BDFDB.raw.css @@ -745,6 +745,7 @@ img:not([src]), img[src=""], img[src="null"] { } [REPLACE_CLASS_settingstablelist] [REPLACE_CLASS_settingstableheader] { min-height: 10px; + text-transform: uppercase; } [REPLACE_CLASS_settingstablelist] [REPLACE_CLASS_settingstableheaderoption] { width: unset; diff --git a/Themes/BlurpleRecolor/BlurpleRecolor.css b/Themes/BlurpleRecolor/BlurpleRecolor.css index 7af5c6c760..f6507ce0d8 100644 --- a/Themes/BlurpleRecolor/BlurpleRecolor.css +++ b/Themes/BlurpleRecolor/BlurpleRecolor.css @@ -1199,6 +1199,9 @@ filter: drop-shadow(0 0 48px rgba(var(--accentcolor),.5)); } +.attachment-33OFj0 { + position: relative; +} .attachment-33OFj0 .icon-1kp3fr, .audioMetadata-3zOuGv::before, .uploadModal-2ifh8j .icon-kyxXVr:not(.image-2yrs5j), @@ -1228,8 +1231,8 @@ } .attachment-33OFj0 .icon-1kp3fr + *::before, .attachment-33OFj0 .icon-1kp3fr + *::after { - top: 11px; - left: 11px; + top: 10px; + left: 10px; width: 30px; height: 40px; }