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 create project dialog overflow on small windows

thinkinbig45345eea207f
diff --git a/src/components/project/create-project-dialog.tsx b/src/components/project/create-project-dialog.tsx
index b8c3e5d2..0d835347 100644
--- a/src/components/project/create-project-dialog.tsx
+++ b/src/components/project/create-project-dialog.tsx
@@ -94,11 +94,11 @@ export function CreateProjectDialog({ open: isOpen, onOpenChange, onCreated }: C
return (
<Dialog open={isOpen} onOpenChange={onOpenChange}>
- <DialogContent className="max-w-lg">
+ <DialogContent className="max-w-lg max-h-[90vh] grid-rows-[auto_1fr_auto] overflow-hidden">
<DialogHeader>
<DialogTitle>{t("project.createTitle")}</DialogTitle>
</DialogHeader>
- <div className="flex flex-col gap-4 py-4">
+ <div className="flex flex-col gap-4 py-4 overflow-y-auto min-h-0">
<div className="flex flex-col gap-2">
<Label htmlFor="name">{t("project.name")}</Label>
<Input id="name" value={name} onChange={(e) => setName(e.target.value)} placeholder={t("project.namePlaceholder")} />