mirror of
https://github.com/usememos/memos.git
synced 2025-01-01 10:01:54 +08:00
chore: tweak tooltips
This commit is contained in:
parent
54539aa047
commit
7375b87967
1 changed files with 4 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue