diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx index 4bdf771bd4..09a0ec36c1 100644 --- a/webview-ui/src/components/chat/ChatView.tsx +++ b/webview-ui/src/components/chat/ChatView.tsx @@ -1256,7 +1256,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction )}
0 ? "mt-0" : ""} p-10 pt-5`}> + className={` w-full flex flex-col gap-4 m-auto ${isExpanded && tasks.length > 0 ? "mt-0" : ""} p-4 pt-5`}> {telemetrySetting === "unset" && } {/* Show the task history preview if expanded and tasks exist */}