Handle memorial accounts

This commit is contained in:
Lim Chee Aun 2023-09-02 15:06:15 +08:00
parent 062f42a05d
commit 1257ce8636
2 changed files with 11 additions and 13 deletions

View file

@ -340,7 +340,7 @@
} }
.timeline-start .account-container header .account-block { .timeline-start .account-container header .account-block {
font-size: 175%; font-size: 175%;
margin-bottom: -8px; /* margin-bottom: -8px; */
line-height: 1.1; line-height: 1.1;
letter-spacing: -0.5px; letter-spacing: -0.5px;
mix-blend-mode: multiply; mix-blend-mode: multiply;

View file

@ -98,6 +98,7 @@ function AccountInfo({
statusesCount, statusesCount,
url, url,
username, username,
memorial,
} = info || {}; } = info || {};
let headerIsAvatar = false; let headerIsAvatar = false;
let { header, headerStatic } = info || {}; let { header, headerStatic } = info || {};
@ -266,19 +267,16 @@ function AccountInfo({
/> />
</header> </header>
<main tabIndex="-1"> <main tabIndex="-1">
{bot && ( {!!memorial && <span class="tag">In Memoriam</span>}
<> {!!bot && (
<span class="tag"> <span class="tag">
<Icon icon="bot" /> Automated <Icon icon="bot" /> Automated
</span> </span>
</>
)} )}
{group && ( {!!group && (
<> <span class="tag">
<span class="tag"> <Icon icon="group" /> Group
<Icon icon="group" /> Group </span>
</span>
</>
)} )}
<div <div
class="note" class="note"