Browse Source

Fix padding problem in #2965 (#3084)

Tony Zhang 8 months ago
parent
commit
40bf9e7ae5
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

@@ -1232,7 +1232,7 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
 						</div>
 						</div>
 					)}
 					)}
 					<div
 					<div
-						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`}>
+						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`}>
 						<RooHero />
 						<RooHero />
 						{telemetrySetting === "unset" && <TelemetryBanner />}
 						{telemetrySetting === "unset" && <TelemetryBanner />}
 						{/* Show the task history preview if expanded and tasks exist */}
 						{/* Show the task history preview if expanded and tasks exist */}