From 5a1d27495490e51dab73dba5dc50cf31ee96273d Mon Sep 17 00:00:00 2001 From: huangmin <2927933426@qq.com> Date: Sat, 6 Jun 2026 15:14:54 +0800 Subject: [PATCH] =?UTF-8?q?style(react-flow):=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E6=A0=B7=E5=BC=8F=E4=B8=8E=E6=A1=86=E9=80=89?= =?UTF-8?q?=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 给分组节点添加圆角样式 2. 框选激活时隐藏节点顶部操作栏避免误触发 3. 修复文件末尾换行问题 --- src/app/globals.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/app/globals.css b/src/app/globals.css index 203368f2..78747860 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -97,7 +97,9 @@ body { .react-flow__node-group { padding: 0 !important; + border-radius: 12px !important; } + /* Larger invisible hit area for easier clicking, especially when zoomed out */ .react-flow__handle::before { content: ""; @@ -249,6 +251,11 @@ body { pointer-events: none !important; } +/* Box selection should select nodes without opening each node's own action bar. */ +.box-selection-active .react-flow__node.selected .nodrag.nopan.absolute[class*="-top-"] { + display: none !important; +} + /* Edge pulse animation for loading connectors */ @keyframes flowPulse { 0% { @@ -288,4 +295,4 @@ body { .animate-fan-exit { animation: fanExit 0.15s ease-in forwards; -} \ No newline at end of file +}