this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Make instance text wrap on its own

+5 -1
+5 -1
src/components/name-text.jsx
··· 17 17 const { acct, avatar, avatarStatic, id, url, displayName, emojis, bot } = 18 18 account; 19 19 let { username } = account; 20 + const [_, acct1, acct2] = acct.match(/([^@]+)(@.+)/i) || [, acct]; 20 21 21 22 const trimmedUsername = username.toLowerCase().trim(); 22 23 const trimmedDisplayName = (displayName || '').toLowerCase().trim(); ··· 74 75 {showAcct && ( 75 76 <> 76 77 <br /> 77 - <i>@{acct}</i> 78 + <i> 79 + @{acct1} 80 + <span class="ib">{acct2}</span> 81 + </i> 78 82 </> 79 83 )} 80 84 </a>