Prechádzať zdrojové kódy

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

Eugen Rochko 1 rok pred
rodič
commit
17bd9a87b9

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