From f4e56d091ebe7c48a3c0e8e76d6e1c302863ecc9 Mon Sep 17 00:00:00 2001 From: sagit Date: Wed, 11 Feb 2026 08:45:58 +0000 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E8=8A=82=E7=82=B9=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E6=94=B9=E4=B8=BA=E4=B8=A4=E8=A1=8C=20grid?= =?UTF-8?q?=20=E5=B8=83=E5=B1=80=EF=BC=8C=E9=98=B2=E6=AD=A2=E5=8D=A1?= =?UTF-8?q?=E7=89=87=E6=BB=91=E5=8A=A8=E6=BA=A2=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 操作按钮从单行 flex 改为两行 grid (3+2),避免窄屏挤压 - SortableItem 和 Card 添加 overflow-hidden,阻止内容溢出导致页面横滑 --- vite-frontend/src/pages/node.tsx | 96 ++++++++++++++++---------------- 1 file changed, 49 insertions(+), 47 deletions(-) diff --git a/vite-frontend/src/pages/node.tsx b/vite-frontend/src/pages/node.tsx index 63d7730..14b6f97 100644 --- a/vite-frontend/src/pages/node.tsx +++ b/vite-frontend/src/pages/node.tsx @@ -125,7 +125,7 @@ const SortableItem = ({ }; return ( -
+
{children(listeners)}
); @@ -1253,7 +1253,7 @@ export default function NodePage() { {(listeners) => (
@@ -1514,54 +1514,56 @@ export default function NodePage() { {/* 操作按钮 */}
-
+ {!isRemoteNode && ( +
+ + + +
+ )} +
{!isRemoteNode && ( - <> - - - - - + )}