stuff
This commit is contained in:
parent
a8cfa245a1
commit
8e4d11b113
|
@ -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()) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue