From 0239ef6ac2a0349e491fba7ce3efb5f05510208f Mon Sep 17 00:00:00 2001 From: ZLY Date: Thu, 13 Nov 2025 11:47:28 +0800 Subject: [PATCH] =?UTF-8?q?style(flow-editor):=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E8=BE=93=E5=85=A5=E8=BE=93=E5=87=BA=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 优化 `.node-inputs` 和 `.node-outputs-api` 的 flex 布局属性 - 为 `.node-input-label` 和 `.node-output-label` 添加统一的字体大小和内边距 - 设置标签高度和行高以保持一致性 -为数据类型文本添加颜色样式 (#adadad)- 调整 `.node-inputs` 的底部外边距 - 重新组织 CSS 结构以提高可读性 --- .../node/style/baseOther.module.less | 26 +++++++++++++------ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/src/components/FlowEditor/node/style/baseOther.module.less b/src/components/FlowEditor/node/style/baseOther.module.less index e0a4444..41a63e6 100644 --- a/src/components/FlowEditor/node/style/baseOther.module.less +++ b/src/components/FlowEditor/node/style/baseOther.module.less @@ -59,32 +59,42 @@ padding-left: 10px; } - - //.node-inputs, - //.node-outputs, .node-inputs-api, .node-outputs-api { flex: 1; } - .node-outputs-api { + .node-inputs { + margin-bottom: 5px; + .node-input-label { font-size: 12px; padding: 1px 0; height: 20px; line-height: 20px; - } - } - .node-inputs { - margin-bottom: 5px; + .node-data-type { + color: #adadad; + } + } } .node-outputs, .node-outputs-api { text-align: right; } + + .node-output-label { + font-size: 12px; + padding: 1px 0; + height: 20px; + line-height: 20px; + + .node-data-type { + color: #adadad; + } + } } .node-content-api {