Skip to content

Commit

Permalink
move placement
Browse files Browse the repository at this point in the history
  • Loading branch information
ingawei committed Nov 13, 2024
1 parent 8569e36 commit 079f278
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/components/comments/comment-actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,16 @@ export function CommentActions(props: {
>
<Tooltip text={`Reply with a ${TRADE_TERM}`} placement="bottom">
<Row className="gap-1">
{diff != 0 && (
<span className="">{Math.round(Math.abs(diff))}</span>
)}
{diff > 0 ? (
<FaArrowTrendUp className={'h-5 w-5 text-teal-500'} />
) : diff < 0 ? (
<FaArrowTrendDown className={'text-scarlet-500 h-5 w-5'} />
) : (
<FaArrowTrendUp className={'h-5 w-5'} />
)}
{diff != 0 && (
<span className="">{Math.round(Math.abs(diff))}</span>
)}
</Row>
</Tooltip>
</IconButton>
Expand Down

0 comments on commit 079f278

Please sign in to comment.