Fix brain home overflow

This commit is contained in:
MaheshtheDev 2026-06-26 22:43:47 +00:00
parent 886ee692f9
commit fbea5f64c5
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-4 lg:grid-cols-2">
<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 && (