Skip to content

Commit

Permalink
Merge pull request #15058 from lichess-org/revert-15017-master
Browse files Browse the repository at this point in the history
Revert "add powerTip to @user "
  • Loading branch information
ornicar authored Apr 9, 2024
2 parents d48dfad + 627ac01 commit 2bce7d0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions ui/chat/css/_discussion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@
vertical-align: bottom;
}

t .user-link {
color: $c-link;
}

.patron {
font-size: 1.1em;
width: 1.2em;
Expand Down
2 changes: 1 addition & 1 deletion ui/common/src/richText.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const innerHTML = <A>(a: A, toHtml: (a: A) => string): Hooks => ({

export function linkReplace(href: string, body?: string, cls?: string) {
if (href.includes('&quot;')) return href;
return `<a class="user-link ulpt" target="_blank" rel="noopener nofollow noreferrer" href="${
return `<a target="_blank" rel="noopener nofollow noreferrer" href="${
href.startsWith('/') || href.includes('://') ? href : '//' + href
}"${cls ? ` class="${cls}"` : ''}>${body ? body : href}</a>`;
}
Expand Down

0 comments on commit 2bce7d0

Please sign in to comment.