Skip to content

Commit 173513a

Browse files
committed
Visual tweaks
1 parent 5c57efa commit 173513a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1795,15 +1795,15 @@ const ChatViewComponent: React.ForwardRefRenderFunction<ChatViewRef, ChatViewPro
17951795
</>
17961796
) : (
17971797
<div className="flex flex-col h-full justify-center p-6 min-h-0 overflow-y-auto gap-4 relative">
1798-
<div className="flex flex-col items-start gap-2 justify-center max-w-md h-full">
1798+
<div className="flex flex-col items-start gap-2 justify-center h-full min-[400px]:px-6">
17991799
<VersionIndicator
18001800
onClick={() => setShowAnnouncementModal(true)}
18011801
className="absolute top-2 right-3 z-10"
18021802
/>
18031803
<div className="flex flex-col gap-4 w-full">
18041804
<RooHero />
18051805
{/* Show RooTips when authenticated or when user is new */}
1806-
{(cloudIsAuthenticated || taskHistory.length < 4) && <RooTips />}
1806+
{taskHistory.length < 6 && <RooTips />}
18071807
{/* Everyone should see their task history if any */}
18081808
{taskHistory.length > 0 && <HistoryPreview />}
18091809
</div>

webview-ui/src/components/history/HistoryPreview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const HistoryPreview = () => {
2727
</div>
2828
{tasks.length !== 0 && (
2929
<>
30-
{tasks.slice(0, 3).map((item) => (
30+
{tasks.slice(0, 4).map((item) => (
3131
<TaskItem key={item.id} item={item} variant="compact" />
3232
))}
3333
</>

webview-ui/src/components/welcome/RooTips.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ const RooTips = () => {
2424
const { t } = useTranslation("chat")
2525

2626
return (
27-
<div className="flex flex-col gap-2 mb-4 max-w-[450px] font-light text-vscode-descriptionForeground">
28-
<p className="my-0 pr-8">
27+
<div className="flex flex-col gap-2 mb-4 max-w-[500px] text-vscode-descriptionForeground">
28+
<p className="my-0 pr-2">
2929
<Trans i18nKey="chat:about" />
3030
</p>
3131
<div className="gap-4">

0 commit comments

Comments
 (0)