From 223a35a04ce26defcb8fc6ff70ffe209b7393bea Mon Sep 17 00:00:00 2001 From: "Yasmin Seidel (JasminDreasond)" Date: Mon, 14 Aug 2023 23:36:04 -0300 Subject: [PATCH] username effect disable --- src/app/molecules/message/Message.jsx | 4 ++-- src/scss/Message.scss | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/molecules/message/Message.jsx b/src/app/molecules/message/Message.jsx index 8bb8009ac..648f81d1b 100644 --- a/src/app/molecules/message/Message.jsx +++ b/src/app/molecules/message/Message.jsx @@ -76,8 +76,8 @@ const MessageHeader = React.memo(({ return ( - {tinyUsername} - {!appAppearance.isUNhoverDisabled ? twemojifyReact(userId) : tinyUsername} + {tinyUsername} + {!appAppearance.isUNhoverDisabled ? twemojifyReact(userId) : tinyUsername} ); diff --git a/src/scss/Message.scss b/src/scss/Message.scss index 0ea2eb7e6..fa9c65b67 100644 --- a/src/scss/Message.scss +++ b/src/scss/Message.scss @@ -232,10 +232,10 @@ .hc-time { display: block; } - .username { + .username:not(.disable-username) { display: none; } - .user-id { + .user-id:not(.disable-username) { display: inline-block; } .message__options {