Merge branch 'fix-for-profile-hover' into 'profile-hover-cards'

Fix for profile hover

See merge request soapbox-pub/soapbox-fe!115
merge-requests/155/head
Alex Gleason 4 years ago
commit a4a8f167d4

@ -173,10 +173,10 @@ export default class DetailedStatus extends ImmutablePureComponent {
<div className='detailed-status__profile' onMouseEnter={this.handleProfileHover} onMouseLeave={this.handleProfileLeave}>
<NavLink to={`/@${status.getIn(['account', 'acct'])}`} className='detailed-status__display-name'>
<div className='detailed-status__display-avatar'><Avatar account={status.get('account')} size={48} /></div>
<DisplayName account={status.get('account')}>
<ProfileHoverCardContainer accountId={status.getIn(['account', 'id'])} visible={!isMobile(window.innerWidth) && profileCardVisible} />
</DisplayName>
</NavLink>
<DisplayName account={status.get('account')}>
<ProfileHoverCardContainer accountId={status.getIn(['account', 'id'])} visible={!isMobile(window.innerWidth) && profileCardVisible} />
</DisplayName>
</div>
{status.get('group') && (

Loading…
Cancel
Save