From 60fd37c90af25c6c167012a8f54439e296dedb99 Mon Sep 17 00:00:00 2001 From: Woody Date: Sat, 25 Apr 2026 14:50:05 +0800 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20resizable=20panel=20sizing=20?= =?UTF-8?q?=E2=80=94=20use=20percentage=20strings=20for=20constraints?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit react-resizable-panels v4 interprets numeric minSize/maxSize as PIXELS, not percentages. Change minSize={15} → minSize='15%' and maxSize={60} → maxSize='60%'. Add defaultLayout on Group for explicit 30/70 initial split. Add min-h-0 to grid container and shrink-0 to separator. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- frontend/src/pages/LTTPage.tsx | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/frontend/src/pages/LTTPage.tsx b/frontend/src/pages/LTTPage.tsx index 79edf2f..898cece 100644 --- a/frontend/src/pages/LTTPage.tsx +++ b/frontend/src/pages/LTTPage.tsx @@ -26,9 +26,14 @@ export const LTTPage: React.FC = () => { return (
- - -
+ + +
@@ -39,11 +44,11 @@ export const LTTPage: React.FC = () => {
- -
+ +
- +