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: prevent right panel from collapsing center content area
nash_su213b98662ef1
diff --git a/src/components/layout/app-layout.tsx b/src/components/layout/app-layout.tsxindex d410698e..1af293f8 100644--- a/src/components/layout/app-layout.tsx+++ b/src/components/layout/app-layout.tsx@@ -57,7 +57,12 @@ export function AppLayout({ onSwitchProject }: AppLayoutProps) {}if (isDraggingRight.current) {const newWidth = rect.right - e.clientX- setRightWidth(Math.max(250, Math.min(rect.width * 0.5, newWidth)))+ // Ensure center area keeps at least 300px+ // Read left panel width from DOM to avoid stale closure+ const leftEl = containerRef.current.firstElementChild as HTMLElement | null+ const currentLeftWidth = leftEl?.offsetWidth ?? 220+ const maxRight = rect.width - currentLeftWidth - 300+ setRightWidth(Math.max(250, Math.min(maxRight, newWidth)))}}