diff --git a/src/components/layout/RightPanel.tsx b/src/components/layout/RightPanel.tsx index 2f0c791..1d511dd 100644 --- a/src/components/layout/RightPanel.tsx +++ b/src/components/layout/RightPanel.tsx @@ -133,9 +133,9 @@ export function RightPanel({ width }: RightPanelProps) { {/* Body */} -
+
{/* Name - editable */} -
+
{isEditingName ? (
@@ -167,12 +167,12 @@ export function RightPanel({ width }: RightPanelProps) {
{/* Divider */} -
+
- {/* Files — always show FileTree */} -
- Files -
+ {/* Files — always show FileTree, fill remaining space */} +
+ Files +
+
{/* Header */} -
+

{workingDirectory || 'No directory selected'}

@@ -169,7 +169,7 @@ export function FileTree({ workingDirectory, onFileSelect, onFileAdd }: FileTree
{/* Search */} -
+
{/* Tree */} -
+
{loading && tree.length === 0 ? (