Fix brain home overflow (#1166)

This commit is contained in:
Mahesh Sanikommu 2026-06-26 16:48:35 -07:00 committed by GitHub
parent 886ee692f9
commit d169dc078e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View file

@ -128,7 +128,7 @@ export function BrainHomeView() {
setupDone={stepsDone}
/>
<ConnectionsBoard />
<div className="grid gap-6 lg:grid-cols-[1fr_340px]">
<div className="grid gap-6 lg:grid-cols-[minmax(0,1fr)_340px]">
<RecentMemories docs={o.recentDocs} loading={o.loading} />
<GettingStarted
hasSource={o.hasSource}
@ -186,7 +186,10 @@ function RecentMemories({
loading: boolean
}) {
return (
<section className="rounded-[18px] bg-[#1B1F24] p-5" style={cardStyle}>
<section
className="min-w-0 rounded-[18px] bg-[#1B1F24] p-5"
style={cardStyle}
>
<p
className={cn(
"mb-3 text-[15px] font-semibold text-[#fafafa]",

View file

@ -246,7 +246,7 @@ function Group({
}) {
return (
<section
className="relative flex flex-col gap-2.5 overflow-hidden rounded-[18px] bg-[#1B1F24] p-5"
className="relative flex min-w-0 flex-col gap-2.5 overflow-hidden rounded-[18px] bg-[#1B1F24] p-5"
style={cardStyle}
>
{accent && (