Browse Source

Fix: Adjust padding in chat view for better UI (#2965)

* Fix: Adjust padding in chat view for better UI

* Add transition for chat view padding
Tony Zhang 10 months ago
parent
commit
23977d054d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      webview-ui/src/components/chat/ChatView.tsx

+ 1 - 1
webview-ui/src/components/chat/ChatView.tsx

@@ -1265,7 +1265,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
 						</div>
 					)}
 					<div
-						className={` w-full flex flex-col gap-4 m-auto ${isExpanded && tasks.length > 0 ? "mt-0" : ""} p-10 pt-5`}>
+						className={` w-full flex flex-col gap-4 m-auto ${isExpanded && tasks.length > 0 ? "mt-0" : ""} max-[370px]:p-3.5 p-10 pt-5 transition-all duration-300`}>
 						<RooHero />
 						{telemetrySetting === "unset" && <TelemetryBanner />}
 						{/* Show the task history preview if expanded and tasks exist */}