Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

design: narrow the Model Manager BUBBLE (not the content) + center search bar

purplecefa17d76872
diff --git a/src/components/layout/AppShell.tsx b/src/components/layout/AppShell.tsx
index bf80963b..5e122cc0 100644
--- a/src/components/layout/AppShell.tsx
+++ b/src/components/layout/AppShell.tsx
@@ -579,7 +579,7 @@ export function AppShell() {
<StorageQuotaToast />
<div className="flex-1 flex overflow-hidden gap-2 p-2">
<Sidebar />
- <main className="flex-1 overflow-hidden rounded-xl bg-white dark:bg-[#1e1e1e] ring-1 ring-black/[0.04] dark:ring-white/[0.05]">
+ <main className={`overflow-hidden rounded-xl bg-white dark:bg-[#1e1e1e] ring-1 ring-black/[0.04] dark:ring-white/[0.05] ${currentView === 'models' ? 'flex-none w-[85%] mx-auto' : 'flex-1'}`}>
{currentView === 'chat' && <ErrorBoundary><ChatView /></ErrorBoundary>}
{currentView === 'models' && <ErrorBoundary><ModelManager /></ErrorBoundary>}
{currentView === 'benchmark' && <ErrorBoundary><BenchmarkView /></ErrorBoundary>}
diff --git a/src/components/models/ModelManager.tsx b/src/components/models/ModelManager.tsx
index 1ed59957..1fd1c759 100644
--- a/src/components/models/ModelManager.tsx
+++ b/src/components/models/ModelManager.tsx
@@ -55,7 +55,7 @@ export function ModelManager() {
return (
<div className="h-full overflow-y-auto scrollbar-thin p-4">
- <div className="max-w-3xl mx-auto">
+ <div className="max-w-4xl mx-auto">
<div className="flex items-center justify-between mb-4">
<div className="flex items-center gap-2">
<button