Ensure correct rendering for profile links
This commit is contained in:
parent
47d203d8a2
commit
e14ae645d6
|
@ -419,7 +419,6 @@ class Header extends ImmutablePureComponent {
|
|||
|
||||
<div className='account__header__tabs__name'>
|
||||
<h1>
|
||||
<span dangerouslySetInnerHTML={displayNameHtml} />
|
||||
<a href={account.get('url')} target='_blank' rel='noopener noreferrer'><span dangerouslySetInnerHTML={displayNameHtml} /></a>{isRemote ? <span> <IconButton icon='external-link' size={14} onClick={this.handleDisplayNameClick} /></span> : null}
|
||||
<small>
|
||||
<span>@{acct}</span> {lockedIcon}
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
|
||||
// app/javascript/mastodon/features/account_timeline/components/header.jsx
|
||||
// Because we provide a link to the profile instead of a plain <span>, we override
|
||||
// the color to ensure it doesn't use the accent color.
|
||||
.account__header__tabs__name a {
|
||||
color: inherit;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue