From 40bf9e7ae5d17217cca264b02717ff2e14fb73f1 Mon Sep 17 00:00:00 2001 From: Tony Zhang <157202938+zhangtony239@users.noreply.github.com> Date: Thu, 1 May 2025 22:25:26 +0800 Subject: [PATCH] Fix padding problem in #2965 (#3084) --- webview-ui/src/components/chat/ChatView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx index 8bd4cd51ae..4dabee8ade 100644 --- a/webview-ui/src/components/chat/ChatView.tsx +++ b/webview-ui/src/components/chat/ChatView.tsx @@ -1232,7 +1232,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction )}
0 ? "mt-0" : ""} max-[370px]:p-3.5 p-10 pt-5 transition-all duration-300`}> + className={` w-full flex flex-col gap-4 m-auto ${isExpanded && tasks.length > 0 ? "mt-0" : ""} px-3.5 min-[370px]:px-10 pt-5 transition-all duration-300`}> {telemetrySetting === "unset" && } {/* Show the task history preview if expanded and tasks exist */}