fix(graph): 选择节点输出端口与选项行逐行对齐

Drawflow 输出端口默认 15px圆点+5px下边距=20px行距,与 .ch-opt 选项行的
25px行距错位,越往下黄点越偏上。改 .output margin:5px 0 → 端口格子25px、
圆点居中,与各选项行逐行平齐(任意选项数通用)。
This commit is contained in:
2026-06-09 10:37:00 +08:00
parent 2fa4c34bb1
commit 93a9ae96d6

View File

@ -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; }