Browse Source

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

master
Shaun Gillies 6 years ago
committed by Eugen Rochko
parent
commit
ac82c9380f
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      app/javascript/mastodon/components/account.js
  2. +1
    -1
      app/javascript/mastodon/features/compose/components/autosuggest_account.js

+ 1
- 1
app/javascript/mastodon/components/account.js View File

@ -101,7 +101,7 @@ export default class Account extends ImmutablePureComponent {
return ( return (
<div className='account'> <div className='account'>
<div className='account__wrapper'> <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> <div className='account__avatar-wrapper'><Avatar account={account} size={36} /></div>
<DisplayName account={account} /> <DisplayName account={account} />
</Permalink> </Permalink>

+ 1
- 1
app/javascript/mastodon/features/compose/components/autosuggest_account.js View File

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

Loading…
Cancel
Save