mirror of https://github.com/mastodon/mastodon
Fix wrong color on mentions hidden behind content warning in web UI (#20724)
This commit is contained in:
parent
8c3c6dcae9
commit
17bd9a87b9
|
@ -249,7 +249,7 @@ class StatusContent extends React.PureComponent {
|
||||||
let mentionsPlaceholder = '';
|
let mentionsPlaceholder = '';
|
||||||
|
|
||||||
const mentionLinks = status.get('mentions').map(item => (
|
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>
|
@<span>{item.get('username')}</span>
|
||||||
</Link>
|
</Link>
|
||||||
)).reduce((aggregate, item) => [...aggregate, item, ' '], []);
|
)).reduce((aggregate, item) => [...aggregate, item, ' '], []);
|
||||||
|
|
Loading…
Reference in New Issue