Skip to content

Commit 4e80d1c

Browse files
align splash (#16)
1 parent 56164b1 commit 4e80d1c

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

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

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,26 +1008,31 @@ const ChatView = ({ isHidden, showAnnouncement, hideAnnouncement, showHistoryVie
10081008
{showAnnouncement && <Announcement version={version} hideAnnouncement={hideAnnouncement} />}
10091009
{messages.length === 0 && (
10101010
<>
1011-
<div className="max-w-2xl mx-auto w-full h-[calc(100vh-270px)] text-center flex flex-col justify-center">
1012-
<div className="w-full text-center flex flex-col items-center justify-center relative gap-5">
1013-
<img src={splashIcon} alt="..." />
1014-
<div className="w-[300px] flex-col justify-start items-start gap-5 inline-flex">
1011+
<div className="absolute top-0 left-0 my-1 w-full h-[calc(100vh-210px)] text-center flex flex-col justify-center">
1012+
<div className="w-full h-[700px] text-center flex flex-col items-center justify-center relative gap-5">
1013+
<div className="flex-1 flex absolute bottom-[260px] items-center justify-center">
1014+
<img src={splashIcon} alt="..." />
1015+
</div>
1016+
<div className="w-[300px] h-[240px] absolute bottom-0 overflow-hidden flex-col justify-start items-start gap-5 inline-flex">
10151017
<div className="flex flex-col text-left">
10161018
<div className="text-2xl">PearAI Coding Agent</div>
10171019
<div className="h-[18px] opacity-50 text-xs leading-[18px]">
10181020
Powered by Roo Code / Cline
10191021
</div>
10201022
</div>
1021-
</div>
1022-
<div className="w-[300px] text-left opacity-50 text-xs leading-[18px]">
1023-
Autonomous coding agent that has access to your development environment (with
1024-
your permission) for a feedback loop to add features, fix bugs, and more.
1023+
<div className="flex flex-col gap-5 h-[100px] overflow-hidden">
1024+
<div className="w-[300px] text-left opacity-50 text-xs leading-[18px]">
1025+
Autonomous coding agent that has access to your development environment
1026+
(with your permission) for a feedback loop to add features, fix bugs,
1027+
and more.
1028+
</div>
1029+
</div>
10251030
</div>
10261031
</div>
10271032
</div>
10281033
</>
10291034
)}
1030-
{taskHistory.length > 0 && <HistoryPreview showHistoryView={showHistoryView} />}
1035+
{/* {taskHistory.length > 0 && <HistoryPreview showHistoryView={showHistoryView} />} */}
10311036
</div>
10321037
)}
10331038

0 commit comments

Comments
 (0)