diff --git a/apps/web/src/components/settings/brain/BrainBrowseSection.tsx b/apps/web/src/components/settings/brain/BrainBrowseSection.tsx index ea16cee04..d36a9f46f 100644 --- a/apps/web/src/components/settings/brain/BrainBrowseSection.tsx +++ b/apps/web/src/components/settings/brain/BrainBrowseSection.tsx @@ -97,7 +97,7 @@ const PageListRow = memo(function PageListRow({ data-memory-slug={page.slug} onClick={() => onSelect(page.slug)} className={cn( - 'w-full cursor-pointer rounded-lg px-3 py-2 text-left transition-colors', + 'w-full min-w-0 max-w-full cursor-pointer overflow-hidden rounded-lg px-3 py-2 text-left transition-colors', selected ? 'bg-accent' : 'hover:bg-accent/60', )} > @@ -143,15 +143,13 @@ function PagePreview({ slug }: { slug: string }) { } return ( -
-
-

- {data.title} -

-
+
+
+

{data.title}

+
{data.updatedAt ? ( <> - + {formatDistanceToNowCompact(data.updatedAt, { addSuffix: true, })} @@ -159,16 +157,18 @@ function PagePreview({ slug }: { slug: string }) { ) : null} - {data.slug} + + {data.slug} +
{/* * Brain memories are distilled from tasks and integrations: cross-user * content, rendered strictly as text. */} -
-
- +
+
+ {data.content ?? 'This memory has no stored content.'}
@@ -310,11 +310,11 @@ export function BrainBrowseSection({ ); const pageList = ( -
+
{pages.map((page) => (
-
+
))} @@ -443,10 +443,10 @@ export function BrainBrowseSection({ description="Nothing in Memory matches this search." /> ) : selectedSlug ? ( -
+
{/* The list and preview stack below `md`, then sit side by side. */} {pageList} -
+