From 93a9ae96d61453fa209d1f163f3fa2c43ffb628b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=93=E9=9B=A8=E9=B9=8F?= <846149189@qq.com> Date: Tue, 9 Jun 2026 10:37:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(graph):=20=E9=80=89=E6=8B=A9=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E8=BE=93=E5=87=BA=E7=AB=AF=E5=8F=A3=E4=B8=8E=E9=80=89?= =?UTF-8?q?=E9=A1=B9=E8=A1=8C=E9=80=90=E8=A1=8C=E5=AF=B9=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Drawflow 输出端口默认 15px圆点+5px下边距=20px行距,与 .ch-opt 选项行的 25px行距错位,越往下黄点越偏上。改 .output margin:5px 0 → 端口格子25px、 圆点居中,与各选项行逐行平齐(任意选项数通用)。 --- web/static/style.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/static/style.css b/web/static/style.css index a9661ac..3aef9cc 100644 --- a/web/static/style.css +++ b/web/static/style.css @@ -114,6 +114,9 @@ button.mini { padding:2px 8px; font-size:12px; } #drawflow .drawflow-node .input, #drawflow .drawflow-node .output { background:#e6c878; border:2px solid #161310; width:15px; height:15px; } #drawflow .drawflow-node .input:hover, #drawflow .drawflow-node .output:hover { background:#f0d68a; } +/* 输出端口纵向行距=选项行距:默认 15px 圆点+5px 下边距=20px 行距,与 .ch-opt 的 25px 错位(越往下越偏); + 改 margin:5px 0 → 每端口格子 5+15+5=25px、圆点居中,与各选项行逐行平齐(任意选项数通用)。 */ +#drawflow .drawflow-node .output { margin:5px 0; } /* 连线 */ #drawflow .connection .main-path { stroke:#7a96c8; stroke-width:2.4px; } #drawflow .connection .main-path:hover { stroke:#e6c878; }