mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-28 10:26:33 +02:00
refactor: fix scroll to last user query ux
- Updated DashboardClientLayout to improve child component overflow handling. - Refactored NewChatPage to streamline the layout and integrate ChatHeader directly within the Thread component. - Added optional header prop to Thread component for better customization. - Cleaned up ChatHeader by removing unnecessary wrapper for improved design.
This commit is contained in:
parent
0a458dde2f
commit
40e982d541
4 changed files with 18 additions and 119 deletions
|
|
@ -265,7 +265,7 @@ export function DashboardClientLayout({
|
|||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div className="grow flex-1 overflow-auto min-h-[calc(100vh-64px)]">{children}</div>
|
||||
<div className="flex-1 overflow-hidden">{children}</div>
|
||||
</main>
|
||||
</SidebarInset>
|
||||
</SidebarProvider>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue