From a7c74b85a0d723460a4fe04beaa2192d7db2c227 Mon Sep 17 00:00:00 2001 From: yu <191972707@qq.com> Date: Wed, 28 Oct 2026 17:19:37 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E6=B5=81=E7=A8=8B=E5=90=8D=E5=9D=97?= =?UTF-8?q?=E7=9B=B8=E5=AF=B9=E5=B7=A5=E5=85=B7=E6=A0=8F=E6=95=B4=E4=BD=93?= =?UTF-8?q?=E7=BB=9D=E5=AF=B9=E5=B1=85=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/styles/app.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/renderer/src/styles/app.css b/src/renderer/src/styles/app.css index bdd8cf5..33f16ce 100644 --- a/src/renderer/src/styles/app.css +++ b/src/renderer/src/styles/app.css @@ -591,6 +591,7 @@ textarea:focus-visible { gap: 10px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.94); + position: relative; } .canvas-toolbar .spacer { @@ -615,6 +616,11 @@ textarea:focus-visible { flex-direction: column; align-items: center; gap: 2px; + /* 相对整个工具栏绝对居中,不受左右两区宽度差影响 */ + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%, -50%); } .flow-name {