mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-11-28 23:58:26 +08:00
Fix task detail chat scroll area layout
This commit is contained in:
1 parent
de6deabc24
commit
ca1e9c4bb4
1 file changed
+1
-1
@@ -606,7 +606,7 @@ export default function TaskDetailPage() {
|
||||
<div className={cn("flex flex-col h-full min-h-0 gap-2")}>
|
||||
{/* 消息列表 */}
|
||||
<div className="flex-1 min-h-0 min-w-0 relative">
|
||||
<ScrollArea className="h-full" viewportRef={chatScrollRef}>
|
||||
<ScrollArea className="h-full [&>[data-radix-scroll-area-viewport]>div]:!block" viewportRef={chatScrollRef}>
|
||||
<div
|
||||
ref={chatContentRef}
|
||||
className={cn("min-h-full flex flex-col gap-3", hasSidePanel ? "w-full" : "mx-auto max-w-[800px]")}
|
||||
|
||||
Reference in new issue
Block a user