Fix padding problem in #2965 (#3084)

This commit is contained in:
Tony Zhang 2025-05-01 22:25:26 +08:00 committed by GitHub
parent 8c428b5b63
commit 40bf9e7ae5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1232,7 +1232,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" : ""} 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 />
{telemetrySetting === "unset" && <TelemetryBanner />}
{/* Show the task history preview if expanded and tasks exist */}