Skip to content

Commit 01d1869

Browse files
fix ask homepage scrolling bug
1 parent 79da94e commit 01d1869

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

packages/web/src/app/[domain]/chat/[id]/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export default async function Page(props: PageProps) {
5353
const indexedRepos = repos.filter((repo) => repo.indexedAt !== undefined);
5454

5555
return (
56-
<>
56+
<div className="flex flex-col h-screen w-screen">
5757
<TopBar
5858
domain={params.domain}
5959
homePath={`/${params.domain}/chat`}
@@ -87,6 +87,6 @@ export default async function Page(props: PageProps) {
8787
isChatReadonly={isReadonly}
8888
/>
8989
</ResizablePanelGroup>
90-
</>
90+
</div>
9191
)
9292
}

packages/web/src/app/[domain]/chat/layout.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ export default async function Layout({ children }: LayoutProps) {
1414
// @note: we use a navigation guard here since we don't support resuming streams yet.
1515
// @see: https://ai-sdk.dev/docs/ai-sdk-ui/chatbot-message-persistence#resuming-ongoing-streams
1616
<NavigationGuardProvider>
17-
<div className="flex flex-col h-screen w-screen">
18-
{children}
19-
</div>
17+
{children}
2018
<TutorialDialog isOpen={!isTutorialDismissed} />
2119
</NavigationGuardProvider>
2220
)

0 commit comments

Comments
 (0)