Skip to content

LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。

TypeScript

fix: wrap resizable Group in flex-1 div to fix width calculation

nash_su96e0a2fc8850
diff --git a/src/components/layout/app-layout.tsx b/src/components/layout/app-layout.tsx
index 3ca3cd78..a4c3dfc1 100644
--- a/src/components/layout/app-layout.tsx
+++ b/src/components/layout/app-layout.tsx
@@ -27,15 +27,17 @@ export function AppLayout() {
return (
<div className="flex h-screen bg-background text-foreground">
<IconSidebar />
- <Group orientation="horizontal" className="flex-1">
- <Panel defaultSize={25} minSize={15} maxSize={40}>
- <FileTree />
- </Panel>
- <Separator className="w-1.5 cursor-col-resize bg-border/40 transition-colors hover:bg-primary/30" />
- <Panel defaultSize={75}>
- <ContentArea />
- </Panel>
- </Group>
+ <div className="min-w-0 flex-1 overflow-hidden">
+ <Group orientation="horizontal">
+ <Panel defaultSize={25} minSize={15} maxSize={40}>
+ <FileTree />
+ </Panel>
+ <Separator className="w-1.5 cursor-col-resize bg-border/40 transition-colors hover:bg-primary/30" />
+ <Panel defaultSize={75}>
+ <ContentArea />
+ </Panel>
+ </Group>
+ </div>
</div>
)
}