mirror of https://github.com/kortix-ai/suna.git
fix: scroll in share thread
This commit is contained in:
parent
2138757de0
commit
af44a97408
|
@ -561,7 +561,7 @@ export const ThreadContent: React.FC<ThreadContentProps> = ({
|
|||
// Render scrollable content container with column-reverse (or just content when external scrolling)
|
||||
<div
|
||||
ref={scrollContainerRef || messagesContainerRef}
|
||||
className={scrollContainerRef ? `${containerClassName} flex flex-col-reverse ${shouldJustifyToTop ? 'justify-end min-h-full' : ''}` : 'py-4 pb-0'}
|
||||
className={scrollContainerRef ? `${containerClassName} flex flex-col-reverse ${shouldJustifyToTop ? 'justify-end min-h-full' : ''}` : 'py-4 pb-0 overflow-auto'}
|
||||
onScroll={scrollContainerRef ? handleScroll : undefined}
|
||||
>
|
||||
<div ref={contentRef} className="mx-auto min-w-0 w-full max-w-3xl px-4 md:px-6">
|
||||
|
|
Loading…
Reference in New Issue