From 00dd1a4a8f673abb281c8fa1a404a194a22b3c86 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 29 Jan 2020 14:22:20 +0000 Subject: [PATCH] Re-use existing classes to fix font-size matching Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- res/css/views/right_panel/_UserInfo.scss | 6 ------ src/components/views/right_panel/UserInfo.js | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/res/css/views/right_panel/_UserInfo.scss b/res/css/views/right_panel/_UserInfo.scss index 27014d175a..5e5b66f58a 100644 --- a/res/css/views/right_panel/_UserInfo.scss +++ b/res/css/views/right_panel/_UserInfo.scss @@ -260,12 +260,6 @@ limitations under the License. } } - .mx_UserInfo_verify { - padding-top: 0; - padding-left: 0; - font-weight: normal; - } - .mx_UserInfo_wideButton { display: block; margin: 16px 0; diff --git a/src/components/views/right_panel/UserInfo.js b/src/components/views/right_panel/UserInfo.js index c48d9c9c37..f189380eac 100644 --- a/src/components/views/right_panel/UserInfo.js +++ b/src/components/views/right_panel/UserInfo.js @@ -1259,7 +1259,7 @@ const BasicUserInfo = ({room, member, groupId, devices, isRoomEncrypted}) => { let verifyButton; if (isRoomEncrypted && !userVerified && !isMe) { verifyButton = ( - verifyUser(member)}> + verifyUser(member)}> {_t("Learn more")} );