fix ask homepage scrolling bug

This commit is contained in:
bkellam 2025-10-29 13:49:14 -07:00
parent 79da94e5d8
commit 01d18694ba
2 changed files with 3 additions and 5 deletions

View file

@ -53,7 +53,7 @@ export default async function Page(props: PageProps) {
const indexedRepos = repos.filter((repo) => repo.indexedAt !== undefined);
return (
<>
<div className="flex flex-col h-screen w-screen">
<TopBar
domain={params.domain}
homePath={`/${params.domain}/chat`}
@ -87,6 +87,6 @@ export default async function Page(props: PageProps) {
isChatReadonly={isReadonly}
/>
</ResizablePanelGroup>
</>
</div>
)
}

View file

@ -14,9 +14,7 @@ export default async function Layout({ children }: LayoutProps) {
// @note: we use a navigation guard here since we don't support resuming streams yet.
// @see: https://ai-sdk.dev/docs/ai-sdk-ui/chatbot-message-persistence#resuming-ongoing-streams
<NavigationGuardProvider>
<div className="flex flex-col h-screen w-screen">
{children}
</div>
{children}
<TutorialDialog isOpen={!isTutorialDismissed} />
</NavigationGuardProvider>
)