Display full username in tooltip on search and autosuggest #7478 (#7920)

master
Shaun Gillies 7 years ago committed by Eugen Rochko
parent 2092d5c0ad
commit ac82c9380f
  1. 2
      app/javascript/mastodon/components/account.js
  2. 2
      app/javascript/mastodon/features/compose/components/autosuggest_account.js

@ -101,7 +101,7 @@ export default class Account extends ImmutablePureComponent {
return (
<div className='account'>
<div className='account__wrapper'>
<Permalink key={account.get('id')} className='account__display-name' href={account.get('url')} to={`/accounts/${account.get('id')}`}>
<Permalink key={account.get('id')} className='account__display-name' title={account.get('acct')} href={account.get('url')} to={`/accounts/${account.get('id')}`}>
<div className='account__avatar-wrapper'><Avatar account={account} size={36} /></div>
<DisplayName account={account} />
</Permalink>

@ -14,7 +14,7 @@ export default class AutosuggestAccount extends ImmutablePureComponent {
const { account } = this.props;
return (
<div className='autosuggest-account'>
<div className='autosuggest-account' title={account.get('acct')}>
<div className='autosuggest-account-icon'><Avatar account={account} size={18} /></div>
<DisplayName account={account} />
</div>

Loading…
Cancel
Save