mirror of https://github.com/usememos/memos.git
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
|
|
@ -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 New Issue