From a4188352d590e7f73b125a815d1b537e614ab4b9 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Mon, 24 Dec 2018 16:29:33 +0100 Subject: [PATCH] Update EditUsers.plugin.js --- Plugins/EditUsers/EditUsers.plugin.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Plugins/EditUsers/EditUsers.plugin.js b/Plugins/EditUsers/EditUsers.plugin.js index 49263a97de..93fcb9a404 100644 --- a/Plugins/EditUsers/EditUsers.plugin.js +++ b/Plugins/EditUsers/EditUsers.plugin.js @@ -17,15 +17,15 @@ class EditUsers { }; this.css = ` - .EditUsers-tag { + ${BDFDB.dotCN.bottag} { top: -4px; position: relative; margin-left: 1ch; } - ${BDFDB.dotCN.memberusername} ~ .EditUsers-tag { + ${BDFDB.dotCN.memberusername} ~ ${BDFDB.dotCN.bottag} { top: 0px; } - ${BDFDB.dotCN.messagegroupcompact} .EditUsers-tag { + ${BDFDB.dotCN.messagegroupcompact} ${BDFDB.dotCN.bottag} { margin-right: 6px; }`; @@ -196,7 +196,6 @@ class EditUsers { let module = BDFDB.WebModules.findByName(type); if (module && module.prototype) BDFDB.WebModules.patch(module.prototype, this.moduleTypes[type], this, {after: (e) => {this.initiateProcess(e.thisObject, type);}}); } - BDFDB.WebModules.patch(BDFDB.WebModules.findByProperties("AvatarWrapper").default, "default", this, {after: (e) => {this.initiateProcess(e.thisObject, "Avatar");}}); this.RelationshipUtils = BDFDB.WebModules.findByProperties("isBlocked", "isFriend"); this.UserUtils = BDFDB.WebModules.findByProperties("getUsers","getUser");