mirror of
https://github.com/usememos/memos.git
synced 2025-01-04 03:23:02 +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>
|
</div>
|
||||||
{memoStats.incompleteTasks > 0 && (
|
{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>
|
<span className="text-sm truncate">{memoStats.taskList - memoStats.incompleteTasks}</span>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<span className="text-sm font-mono opacity-50">/</span>
|
<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>
|
||||||
<div
|
<div
|
||||||
className={clsx(
|
className={clsx(
|
||||||
|
|
Loading…
Reference in a new issue