move aria-label and title so that it doesn't wrap the e2e icon

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-04-01 17:16:28 +01:00
parent 430a9ef948
commit 0d8fd83e4d
1 changed files with 2 additions and 2 deletions

View File

@ -1444,9 +1444,9 @@ const UserInfoHeader = ({onClose, member, e2eStatus}) => {
<div className="mx_UserInfo_container mx_UserInfo_separator"> <div className="mx_UserInfo_container mx_UserInfo_separator">
<div className="mx_UserInfo_profile"> <div className="mx_UserInfo_profile">
<div> <div>
<h2 title={displayName} aria-label={displayName}> <h2>
{ e2eIcon } { e2eIcon }
<span> <span title={displayName} aria-label={displayName}>
{ displayName } { displayName }
</span> </span>
</h2> </h2>