From a880fc3161f44ba2fcccd83aafee574a6c76a2e9 Mon Sep 17 00:00:00 2001 From: chiyi Date: Mon, 12 Oct 2026 14:59:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(canvas):=20=E6=8F=90=E7=A4=BA=E8=AF=8D?= =?UTF-8?q?=E5=B8=B8=E6=98=BE=E5=B9=B6=E6=94=BE=E5=A4=A7=E5=AD=97=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/canvas/CanvasNodeView.vue | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/frontend/src/components/canvas/CanvasNodeView.vue b/frontend/src/components/canvas/CanvasNodeView.vue index 2912869..acccfb8 100644 --- a/frontend/src/components/canvas/CanvasNodeView.vue +++ b/frontend/src/components/canvas/CanvasNodeView.vue @@ -273,24 +273,18 @@ defineExpose({ startEdit, commitNote }) left: 0; right: 0; bottom: 0; - padding: 26px 10px 8px; - font-size: 11px; + padding: 30px 12px 9px; + font-size: 13.5px; font-weight: 600; - line-height: 1.35; + line-height: 1.4; color: #fff; - text-shadow: 0 1px 3px rgb(0 0 0 / 0.6); - background: linear-gradient(to top, rgb(0 0 0 / 0.62), transparent); - opacity: 0; - transition: opacity 0.15s ease; + text-shadow: 0 1px 4px rgb(0 0 0 / 0.65); + background: linear-gradient(to top, rgb(0 0 0 / 0.66), transparent); pointer-events: none; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } -.cv-node:hover .cv-node__cap, -.cv-node.is-selected .cv-node__cap { - opacity: 1; -} /* 笔记 = 淡黄色贴纸 */ .cv-node--note {