Move hovercard into display name for regular status too

This commit is contained in:
Alex Gleason 2020-08-02 18:18:34 -05:00
parent a4a8f167d4
commit abd13e8fa5
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -465,10 +465,10 @@ class Status extends ImmutablePureComponent {
<div className='status__avatar'>
{statusAvatar}
</div>
<DisplayName account={status.get('account')} others={otherAccounts}>
<ProfileHoverCardContainer accountId={status.getIn(['account', 'id'])} visible={!isMobile(window.innerWidth) && profileCardVisible} />
</DisplayName>
</NavLink>
<DisplayName account={status.get('account')} others={otherAccounts}>
<ProfileHoverCardContainer accountId={status.getIn(['account', 'id'])} visible={!isMobile(window.innerWidth) && profileCardVisible} />
</DisplayName>
</div>
</div>