From d611aab777e5a7c36c84465721cfd3151de73a40 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Thu, 18 Jan 2024 12:53:10 +0000 Subject: [PATCH] Extend the size limits of some panels (#16543) GitOrigin-RevId: 4c25e93effc08c6bf62cdca7e95b31ca36ac154f --- .../js/features/ide-react/components/editor-and-pdf.tsx | 4 ++-- .../js/features/ide-react/components/layout/main-layout.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/web/frontend/js/features/ide-react/components/editor-and-pdf.tsx b/services/web/frontend/js/features/ide-react/components/editor-and-pdf.tsx index 462e6c7543..896fdee30a 100644 --- a/services/web/frontend/js/features/ide-react/components/editor-and-pdf.tsx +++ b/services/web/frontend/js/features/ide-react/components/editor-and-pdf.tsx @@ -52,7 +52,7 @@ export const EditorAndPdf: FC<{ id="panel-main" order={1} defaultSize={50} - minSize={25} + minSize={5} className={classNames('ide-react-panel', { 'ide-panel-group-resizing': resizing, })} @@ -98,7 +98,7 @@ export const EditorAndPdf: FC<{ id="panel-pdf" order={2} defaultSize={50} - minSize={25} + minSize={5} collapsible onCollapse={handlePdfPaneCollapse} onExpand={handlePdfPaneExpand} diff --git a/services/web/frontend/js/features/ide-react/components/layout/main-layout.tsx b/services/web/frontend/js/features/ide-react/components/layout/main-layout.tsx index 5227afba25..fbaa8f520d 100644 --- a/services/web/frontend/js/features/ide-react/components/layout/main-layout.tsx +++ b/services/web/frontend/js/features/ide-react/components/layout/main-layout.tsx @@ -66,7 +66,7 @@ export const MainLayout: FC = () => { order={1} defaultSize={15} minSize={5} - maxSize={30} + maxSize={80} collapsible onCollapse={handleSidebarCollapse} onExpand={handleSidebarExpand}