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

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-04-01 17:16:28 +01:00
parent 430a9ef948
commit 0d8fd83e4d

View file

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