From da74fb76ea62192f9c3891f3443646c186332681 Mon Sep 17 00:00:00 2001 From: YoLin02 Date: Tue, 23 Jun 2026 14:52:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20react-flow=20=E5=8F=A5?= =?UTF-8?q?=E6=9F=84=E7=9A=84=E8=BF=87=E6=B8=A1=E6=95=88=E6=9E=9C=EF=BC=8C?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E7=BC=A9=E6=94=BE=E6=95=88=E6=9E=9C=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=98=B4=E5=BD=B1=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.css b/src/index.css index 3225588..5beb41c 100644 --- a/src/index.css +++ b/src/index.css @@ -192,12 +192,12 @@ border-radius: 50%; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14); cursor: crosshair !important; - transition: transform 0.15s ease, background-color 0.15s ease; + transition: background-color 0.15s ease, box-shadow 0.15s ease; } .react-flow__handle:hover { - transform: scale(1.22); background-color: #000000 !important; + box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.12), 0 1px 4px rgba(0, 0, 0, 0.14); } .react-flow__handle.custom-node-handle { @@ -209,8 +209,8 @@ } .react-flow__handle.custom-node-handle:hover { - transform: scale(1.3); background-color: #111827 !important; + box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.12), 0 1px 4px rgba(0, 0, 0, 0.14); } .react-flow__connection-path {