From f13848cf0b399b83df89e38c53998c454708f7dc Mon Sep 17 00:00:00 2001 From: jim800121chen Date: Sun, 12 Apr 2026 23:36:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(local-tool):=20workspace=20=E6=8E=A8?= =?UTF-8?q?=E8=AB=96=E9=9D=A2=E6=9D=BF=E8=B7=91=E7=89=88=20=E2=80=94=20?= =?UTF-8?q?=E5=8F=B3=E5=81=B4=E9=9D=A2=E6=9D=BF=E5=9B=BA=E5=AE=9A=E5=AF=AC?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 右側 InferencePanel 沒設寬度也沒 shrink-0,被左側 CameraInferenceView 擠壓到只剩幾十 px,文字垂直排列。 修法: - InferencePanel 外層加 w-80 shrink-0(固定 320px 不縮小) - CameraInferenceView 外層加 min-w-0(允許 flex item 收縮到 0) - gap-6 改 gap-4(省一點空間) Co-Authored-By: Claude Opus 4.6 (1M context) --- .../src/app/workspace/[deviceId]/workspace-client.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/local-tool/frontend/src/app/workspace/[deviceId]/workspace-client.tsx b/local-tool/frontend/src/app/workspace/[deviceId]/workspace-client.tsx index d911bb9..610db03 100644 --- a/local-tool/frontend/src/app/workspace/[deviceId]/workspace-client.tsx +++ b/local-tool/frontend/src/app/workspace/[deviceId]/workspace-client.tsx @@ -84,11 +84,13 @@ export default function WorkspaceClient() { -
-
+
+
- +
+ +
);