瀏覽代碼

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

Eugen Rochko 1 年之前
父節點
當前提交
17bd9a87b9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/javascript/mastodon/components/status_content.js

+ 1 - 1
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, ' '], []);