mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 14:16:39 +01:00
Fix the 'thread' badge being jumpy
This commit is contained in:
parent
90f1a9e529
commit
9d8286234f
1 changed files with 7 additions and 5 deletions
|
@ -271,7 +271,7 @@ function Status({
|
|||
</span>
|
||||
))}
|
||||
</div>
|
||||
{inReplyToAccount && !withinContext && size !== 's' && (
|
||||
{inReplyToAccountId && !withinContext && size !== 's' && (
|
||||
<div
|
||||
class={`status-${
|
||||
inReplyToAccountId === status.account.id ? 'thread' : 'reply'
|
||||
|
@ -283,10 +283,12 @@ function Status({
|
|||
Thread
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<Icon icon="reply" />{' '}
|
||||
<NameText account={inReplyToAccount} short />
|
||||
</>
|
||||
!!inReplyToAccount && (
|
||||
<>
|
||||
<Icon icon="reply" />{' '}
|
||||
<NameText account={inReplyToAccount} short />
|
||||
</>
|
||||
)
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
|
|
Loading…
Reference in a new issue