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

Remove unrelated UI layout changes from Azure PR

thinkinbig7c20a0298c93
diff --git a/src/components/project/create-project-dialog.tsx b/src/components/project/create-project-dialog.tsx
index d51b554a..b8c3e5d2 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-h-[calc(100vh-2rem)] max-w-lg grid-rows-[auto_minmax(0,1fr)_auto] overflow-hidden">
+ <DialogContent className="max-w-lg">
<DialogHeader>
<DialogTitle>{t("project.createTitle")}</DialogTitle>
</DialogHeader>
- <div className="flex flex-col gap-4 overflow-y-auto py-4 pr-1">
+ <div className="flex flex-col gap-4 py-4">
<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")} />
diff --git a/src/components/project/welcome-screen.tsx b/src/components/project/welcome-screen.tsx
index 39bc06f0..bdf69815 100644
--- a/src/components/project/welcome-screen.tsx
+++ b/src/components/project/welcome-screen.tsx
@@ -31,8 +31,8 @@ export function WelcomeScreen({
}
return (
- <div className="flex min-h-screen overflow-y-auto bg-background px-4 py-8">
- <div className="m-auto flex flex-col items-center gap-8">
+ <div className="flex h-full items-center justify-center bg-background">
+ <div className="flex flex-col items-center gap-8 px-4">
<div className="text-center">
<h1 className="text-3xl font-bold">{t("app.title")}</h1>
<p className="mt-2 text-muted-foreground">