mirror of
https://github.com/usememos/memos.git
synced 2025-03-04 01:04:38 +08:00
chore: add cursor-pointer to memo's display time (#4441)
feat: memo title add cursor-pointer when mouse hover
This commit is contained in:
parent
271a8c8c28
commit
3a7b24bd01
1 changed files with 2 additions and 2 deletions
|
@ -159,7 +159,7 @@ const MemoView: React.FC<Props> = (props: Props) => {
|
|||
{creator.nickname || creator.username}
|
||||
</Link>
|
||||
<div
|
||||
className="w-auto -mt-0.5 text-xs leading-tight text-gray-400 dark:text-gray-500 select-none"
|
||||
className="w-auto -mt-0.5 text-xs leading-tight text-gray-400 dark:text-gray-500 select-none cursor-pointer"
|
||||
onClick={handleGotoMemoDetailPage}
|
||||
>
|
||||
{displayTime}
|
||||
|
@ -168,7 +168,7 @@ const MemoView: React.FC<Props> = (props: Props) => {
|
|||
</div>
|
||||
) : (
|
||||
<div
|
||||
className="w-full text-sm leading-tight text-gray-400 dark:text-gray-500 select-none"
|
||||
className="w-full text-sm leading-tight text-gray-400 dark:text-gray-500 select-none cursor-pointer"
|
||||
onClick={handleGotoMemoDetailPage}
|
||||
>
|
||||
{displayTime}
|
||||
|
|
Loading…
Reference in a new issue