fix(web): stop memo-card hover tip from covering New Note

The list item tooltip taught multi-select on every hover and sat over
the sidebar New Note button. Drop it; selection still works without the
hint, and action-button tooltips stay.
This commit is contained in:
tianma-if committed 2026-09-10 21:53:58 +08:00
1 parent 2d281a2d8f
commit 49e4794d62
3 files changed
+2 -4

No files matched your search

+2 -2
View File
@@ -366,7 +366,7 @@ export const MemoCard = ({
</span>
</button></TooltipTrigger><TooltipContent>{selectionControlLabel}</TooltipContent></Tooltip>
)}
<Tooltip><TooltipTrigger asChild><button
<button
className={cn(
"min-w-0 flex-1 px-4 py-3.5 text-left touch-pan-y focus-visible:bg-slate-50 focus-visible:shadow-[inset_3px_0_0_rgb(148,163,184)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-slate-400/60 [-webkit-touch-callout:none] lg:py-3.5 transition-all duration-200",
listDensity === "compact" && "py-2.5",
@@ -428,7 +428,7 @@ export const MemoCard = ({
</span>
))}
</div>
</button></TooltipTrigger><TooltipContent>{t("memoCard.interactionHint")}</TooltipContent></Tooltip>
</button>
{!selectionMode && (
<div
className={cn(
-1
View File
@@ -1427,7 +1427,6 @@ export const enUS = {
unselect: "Deselect {{title}}",
dragMany: "Move {{count}} notes",
dragOne: "Move “{{title}}”",
interactionHint: "Ctrl/Cmd click to toggle selection, Shift click for range selection, drag to a notebook on the left to move, long press on mobile to select",
moreActions: "More actions",
restoreMemo: "Restore note",
deleteMemo: "Delete note",
-1
View File
@@ -1427,7 +1427,6 @@ export const zhCN = {
unselect: "取消选择 {{title}}",
dragMany: "移动 {{count}} 条笔记",
dragOne: "移动「{{title}}」",
interactionHint: "Ctrl/Cmd 点击切换选择,Shift 点击连续选择,可拖到左侧笔记本移动,移动端长按进入选择",
moreActions: "更多操作",
restoreMemo: "恢复笔记",
deleteMemo: "删除笔记",