Skip to content

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

fix(app): let content pane shrink so meeting notes isn't clipped in narrow windows (#4062)

Louis Beaumont8abbb5776d21
diff --git a/apps/screenpipe-app-tauri/app/home/page.tsx b/apps/screenpipe-app-tauri/app/home/page.tsx
index 4d5a69434..207e92f02 100644
--- a/apps/screenpipe-app-tauri/app/home/page.tsx
+++ b/apps/screenpipe-app-tauri/app/home/page.tsx
@@ -1167,8 +1167,13 @@ function HomeContent() {
)}
</TooltipProvider>
- {/* Content */}
- <div className={cn("flex-1 flex flex-col h-full bg-background min-h-0 relative", isTranslucent ? "rounded-none" : "rounded-tr-lg")}>
+ {/* Content.
+ min-w-0 matters: without it this flex item refuses to shrink
+ below its content's min-content width (truncate spans are
+ nowrap, so that's the FULL untruncated text width), and in a
+ narrow window with the sidebar open the whole pane gets
+ clipped at the right window edge instead of truncating. */}
+ <div className={cn("flex-1 min-w-0 flex flex-col h-full bg-background min-h-0 relative", isTranslucent ? "rounded-none" : "rounded-tr-lg")}>
{/* ALWAYS-MOUNTED chat layer.
Hidden via CSS (display:none) when the user is on a non-chat
section, so the StandaloneChat component never unmounts. This
diff --git a/docs/mockups/meeting-notes-split-screen-overflow.png b/docs/mockups/meeting-notes-split-screen-overflow.png
new file mode 100644
index 000000000..c44602417
Binary files /dev/null and b/docs/mockups/meeting-notes-split-screen-overflow.png differ