Skip to content

Commit

Permalink
chore: tweak tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack committed Jun 5, 2024
1 parent 54539aa commit 7375b87
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions web/src/components/UserStatisticsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,15 @@ const UserStatisticsView = (props: Props) => {
</div>
{memoStats.incompleteTasks > 0 && (
<>
<Tooltip title={"Incomplete tasks"} placement="top" arrow>
<Tooltip title={"Done"} placement="top" arrow>
<span className="text-sm truncate">{memoStats.taskList - memoStats.incompleteTasks}</span>
</Tooltip>
<span className="text-sm font-mono opacity-50">/</span>
</>
)}
<span className="text-sm truncate">{memoStats.taskList}</span>
<Tooltip title={"Total"} placement="top" arrow>
<span className="text-sm truncate">{memoStats.taskList}</span>
</Tooltip>
</div>
<div
className={clsx(
Expand Down

0 comments on commit 7375b87

Please sign in to comment.