YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix: constrain chat content width and fix sidebar overflow
Louis Beaumont98e481991c86
diff --git a/apps/screenpipe-app-tauri/app/settings/page.tsx b/apps/screenpipe-app-tauri/app/settings/page.tsxindex 7ec80237a..f1202d1a0 100644--- a/apps/screenpipe-app-tauri/app/settings/page.tsx+++ b/apps/screenpipe-app-tauri/app/settings/page.tsx@@ -289,13 +289,13 @@ function SettingsPageContent() {<TooltipProvider delayDuration={0}><divclassName={cn(- "border-r bg-background flex flex-col min-h-0 rounded-tl-lg transition-all duration-200",+ "border-r bg-background flex flex-col min-h-0 rounded-tl-lg transition-all duration-200 overflow-hidden flex-shrink-0",sidebarCollapsed ? "w-14" : "w-56",)}>- <div className={cn("py-3 border-b flex items-center", sidebarCollapsed ? "px-2 justify-center" : "px-4 justify-between")}>- {!sidebarCollapsed && <h1 className="text-lg font-bold text-foreground">screenpipe</h1>}- <div className="flex items-center gap-2">+ <div className={cn("py-3 border-b flex items-center overflow-hidden", sidebarCollapsed ? "px-2 justify-center" : "px-4 justify-between gap-2")}>+ {!sidebarCollapsed && <h1 className="text-lg font-bold text-foreground truncate min-w-0">screenpipe</h1>}+ <div className="flex items-center gap-2 flex-shrink-0">{!sidebarCollapsed && (() => {const monitors = recordingDevices.filter((d) => d.kind === "monitor");const inputs = recordingDevices.filter((d) => d.kind === "input");diff --git a/apps/screenpipe-app-tauri/components/standalone-chat.tsx b/apps/screenpipe-app-tauri/components/standalone-chat.tsxindex 3db187804..7f490e6f5 100644--- a/apps/screenpipe-app-tauri/components/standalone-chat.tsx+++ b/apps/screenpipe-app-tauri/components/standalone-chat.tsx@@ -2260,7 +2260,7 @@ export function StandaloneChat({ className }: { className?: string } = {}) {{/* Messages */}<div- className="relative flex-1 overflow-y-auto overflow-x-hidden p-4 space-y-4"+ className="relative flex-1 overflow-y-auto overflow-x-hidden"onContextMenu={(e) => {if (messages.length === 0) return;e.preventDefault();@@ -2288,6 +2288,7 @@ export function StandaloneChat({ className }: { className?: string } = {}) {setTimeout(() => document.addEventListener("mousedown", remove), 0);}}>+ <div className="max-w-4xl mx-auto w-full p-4 space-y-4">{messages.length === 0 && disabledReason && (<div className="relative flex flex-col items-center justify-center py-12 space-y-4"><div className="relative p-6 rounded-2xl border bg-muted/50 border-border/50">@@ -2453,11 +2454,13 @@ export function StandaloneChat({ className }: { className?: string } = {}) {)}</AnimatePresence><div ref={messagesEndRef} />+ </div> {/* End of max-w-4xl wrapper */}</div></div> {/* End of main content area with history sidebar */}{/* Input */}<div className="relative border-t border-border/50 bg-gradient-to-t from-muted/20 to-transparent">+ <div className="max-w-4xl mx-auto w-full"><div className="p-2 border-b border-border/30"><AIPresetsSelectoronPresetChange={setActivePreset}@@ -2765,6 +2768,7 @@ export function StandaloneChat({ className }: { className?: string } = {}) {</Button></div></form>+ </div> {/* End of max-w-4xl input wrapper */}</div><UpgradeDialog