From 14747cfa0f86b86cf6ba55b6125a87f61dcd030c Mon Sep 17 00:00:00 2001 From: Dominic Elm Date: Fri, 26 Jul 2024 11:05:53 +0200 Subject: [PATCH] fix: make file tree scrollable (#14) --- packages/bolt/app/components/workbench/EditorPanel.tsx | 4 ++-- packages/bolt/app/components/workbench/FileTreePanel.tsx | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/bolt/app/components/workbench/EditorPanel.tsx b/packages/bolt/app/components/workbench/EditorPanel.tsx index 6d4459a..c684e86 100644 --- a/packages/bolt/app/components/workbench/EditorPanel.tsx +++ b/packages/bolt/app/components/workbench/EditorPanel.tsx @@ -62,8 +62,8 @@ export const EditorPanel = memo( return ( - -
+ +
Files diff --git a/packages/bolt/app/components/workbench/FileTreePanel.tsx b/packages/bolt/app/components/workbench/FileTreePanel.tsx index 5f5f6bf..fde6dde 100644 --- a/packages/bolt/app/components/workbench/FileTreePanel.tsx +++ b/packages/bolt/app/components/workbench/FileTreePanel.tsx @@ -15,8 +15,9 @@ export const FileTreePanel = memo(({ files, unsavedFiles, selectedFile, onFileSe renderLogger.trace('FileTreePanel'); return ( -
+