From 70517fec18aa13e4beb5b7c988c6abc6c0a7b155 Mon Sep 17 00:00:00 2001 From: Anwarul Islam Date: Sat, 12 Jul 2025 23:40:38 +0600 Subject: [PATCH] fix: improve layout and styling of resizable panels --- apps/web/src/app/editor/[project_id]/page.tsx | 7 +++---- apps/web/src/components/ui/resizable.tsx | 10 ++++++++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/apps/web/src/app/editor/[project_id]/page.tsx b/apps/web/src/app/editor/[project_id]/page.tsx index db17dd4..b3641e3 100644 --- a/apps/web/src/app/editor/[project_id]/page.tsx +++ b/apps/web/src/app/editor/[project_id]/page.tsx @@ -55,9 +55,9 @@ export default function Editor() { return ( -
+
-
+
{/* Main content area */} diff --git a/apps/web/src/components/ui/resizable.tsx b/apps/web/src/components/ui/resizable.tsx index 8f3cb2e..0b9a955 100644 --- a/apps/web/src/components/ui/resizable.tsx +++ b/apps/web/src/components/ui/resizable.tsx @@ -29,11 +29,17 @@ const ResizableHandle = ({ }) => ( div]:rotate-90", className )} {...props} - /> + > + {withHandle && ( +
+ +
+ )} +
); export { ResizablePanelGroup, ResizablePanel, ResizableHandle };