Re-use existing classes to fix font-size matching

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-01-29 14:22:20 +00:00
parent 19e7c768b6
commit 00dd1a4a8f
2 changed files with 1 additions and 7 deletions

View File

@ -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;

View File

@ -1259,7 +1259,7 @@ const BasicUserInfo = ({room, member, groupId, devices, isRoomEncrypted}) => {
let verifyButton;
if (isRoomEncrypted && !userVerified && !isMe) {
verifyButton = (
<AccessibleButton kind="secondary" className="mx_UserInfo_verify" onClick={() => verifyUser(member)}>
<AccessibleButton className="mx_UserInfo_field" onClick={() => verifyUser(member)}>
{_t("Learn more")}
</AccessibleButton>
);