Fix wrong color on mentions hidden behind content warning in web UI (#20724)

main^2^2^2
Eugen Rochko 1 year ago committed by GitHub
parent 8c3c6dcae9
commit 17bd9a87b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/javascript/mastodon/components/status_content.js

@ -249,7 +249,7 @@ class StatusContent extends React.PureComponent {
let mentionsPlaceholder = '';
const mentionLinks = status.get('mentions').map(item => (
<Link to={`/@${item.get('acct')}`} key={item.get('id')} className='mention'>
<Link to={`/@${item.get('acct')}`} key={item.get('id')} className='status-link mention'>
@<span>{item.get('username')}</span>
</Link>
)).reduce((aggregate, item) => [...aggregate, item, ' '], []);

Loading…
Cancel
Save