aboutsummaryrefslogtreecommitdiff
path: root/apps/web/app/(navigation)
diff options
context:
space:
mode:
authorMahesh Sanikommu <[email protected]>2025-10-29 15:35:57 -0700
committerGitHub <[email protected]>2025-10-29 15:35:57 -0700
commit399f7beeeb8ded52ed1e000df056e08e79dba1d4 (patch)
treebf2776ae000c11e8fd904f77769ac9904e476641 /apps/web/app/(navigation)
parentchore: remove unused files (#540) (diff)
downloadsupermemory-399f7beeeb8ded52ed1e000df056e08e79dba1d4.tar.xz
supermemory-399f7beeeb8ded52ed1e000df056e08e79dba1d4.zip
fix: chat messages scroll effect (#544)
Diffstat (limited to 'apps/web/app/(navigation)')
-rw-r--r--apps/web/app/(navigation)/chat/[id]/page.tsx10
-rw-r--r--apps/web/app/(navigation)/layout.tsx4
2 files changed, 4 insertions, 10 deletions
diff --git a/apps/web/app/(navigation)/chat/[id]/page.tsx b/apps/web/app/(navigation)/chat/[id]/page.tsx
index da64a79d..0f429595 100644
--- a/apps/web/app/(navigation)/chat/[id]/page.tsx
+++ b/apps/web/app/(navigation)/chat/[id]/page.tsx
@@ -18,14 +18,8 @@ export default function ChatPage() {
}, [chatId, setCurrentChatId])
return (
- <div className="flex flex-col w-full">
- <div className="flex flex-col h-[93vh]">
- <div className="flex-1 flex justify-center min-h-0 w-full md:px-4">
- <div className="flex flex-col min-h-0 w-full max-w-4xl">
- <ChatMessages />
- </div>
- </div>
- </div>
+ <div className="h-full overflow-hidden">
+ <ChatMessages />
</div>
)
}
diff --git a/apps/web/app/(navigation)/layout.tsx b/apps/web/app/(navigation)/layout.tsx
index 4c37c10e..7b7628bb 100644
--- a/apps/web/app/(navigation)/layout.tsx
+++ b/apps/web/app/(navigation)/layout.tsx
@@ -42,11 +42,11 @@ export default function NavigationLayout({
}
}, [])
return (
- <div className="relative min-h-screen">
+ <div className="relative h-screen flex flex-col">
<div className="sticky top-0 z-50 bg-background/80 backdrop-blur-md border-b border-white/10">
<Header onAddMemory={() => setShowAddMemoryView(true)} />
</div>
- {children}
+ <div className="flex-1">{children}</div>
{showAddMemoryView && (
<AddMemoryView
initialTab="note"