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: add min-w-0 overflow-hidden to panel contents to allow resize shrinking
nash_sub3a6251ea614
diff --git a/src/components/editor/wiki-editor.tsx b/src/components/editor/wiki-editor.tsxindex 13e241f4..d37db863 100644--- a/src/components/editor/wiki-editor.tsx+++ b/src/components/editor/wiki-editor.tsx@@ -40,7 +40,7 @@ interface WikiEditorProps {export function WikiEditor({ content, onSave }: WikiEditorProps) {return (<MilkdownProvider>- <div className="prose prose-invert max-w-none p-6">+ <div className="prose prose-invert min-w-0 max-w-none overflow-hidden p-6"><WikiEditorInner content={content} onSave={onSave} /></div></MilkdownProvider>diff --git a/src/components/layout/content-area.tsx b/src/components/layout/content-area.tsxindex 44e5257d..da227ecd 100644--- a/src/components/layout/content-area.tsx+++ b/src/components/layout/content-area.tsx@@ -50,7 +50,7 @@ export function ContentArea() {const isMarkdown = selectedFile?.endsWith(".md")const editorContent = (- <div className="h-full overflow-auto">+ <div className="h-full min-w-0 overflow-auto">{selectedFile ? (isMarkdown ? (<WikiEditor@@ -74,7 +74,7 @@ export function ContentArea() {if (!chatExpanded) {return (- <div className="flex h-full flex-col">+ <div className="flex h-full min-w-0 flex-col overflow-hidden"><div className="flex-1 overflow-hidden">{editorContent}</div><ChatBar /></div>diff --git a/src/components/layout/file-tree.tsx b/src/components/layout/file-tree.tsxindex 209f69d7..0c8c07cf 100644--- a/src/components/layout/file-tree.tsx+++ b/src/components/layout/file-tree.tsx@@ -64,7 +64,7 @@ export function FileTree() {}return (- <ScrollArea className="h-full">+ <ScrollArea className="h-full min-w-0 overflow-hidden"><div className="p-2"><div className="mb-2 px-2 text-xs font-semibold uppercase text-muted-foreground">{project.name}