Skip to content

Commit 873cb1f

Browse files
committed
Make let's go button sticky
1 parent 3715a70 commit 873cb1f

File tree

1 file changed

+20
-17
lines changed

1 file changed

+20
-17
lines changed

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

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,26 @@ const WelcomeView = () => {
2121
}
2222

2323
return (
24-
<div style={{ position: "fixed", top: 0, left: 0, right: 0, bottom: 0, padding: "0 20px" }}>
25-
<h2>Hi, I'm Roo!</h2>
26-
<p>
27-
I can do all kinds of tasks thanks to the latest breakthroughs in agentic coding capabilities and access
28-
to tools that let me create & edit files, explore complex projects, use the browser, and execute
29-
terminal commands (with your permission, of course). I can even use MCP to create new tools and extend
30-
my own capabilities.
31-
</p>
32-
33-
<b>To get started, this extension needs an API provider.</b>
34-
35-
<div style={{ marginTop: "10px" }}>
36-
<ApiOptions fromWelcomeView />
37-
<div style={{ display: "flex", flexDirection: "column", gap: "5px" }}>
38-
<VSCodeButton onClick={handleSubmit} style={{ marginTop: "3px" }}>
39-
Let's go!
40-
</VSCodeButton>
24+
<div className="flex flex-col min-h-screen px-0 pb-5">
25+
<div className="flex-grow">
26+
<h2>Hi, I'm Roo!</h2>
27+
<p>
28+
I can do all kinds of tasks thanks to the latest breakthroughs in agentic coding capabilities and
29+
access to tools that let me create & edit files, explore complex projects, use the browser, and
30+
execute terminal commands (with your permission, of course). I can even use MCP to create new tools
31+
and extend my own capabilities.
32+
</p>
33+
34+
<b>To get started, this extension needs an API provider.</b>
35+
36+
<div className="mt-3">
37+
<ApiOptions fromWelcomeView />
38+
</div>
39+
</div>
40+
41+
<div className="sticky bottom-0 bg-[var(--vscode-editor-background)] py-3">
42+
<div className="flex flex-col gap-1.5">
43+
<VSCodeButton onClick={handleSubmit}>Let's go!</VSCodeButton>
4144
{errorMessage && <span className="text-destructive">{errorMessage}</span>}
4245
</div>
4346
</div>

0 commit comments

Comments
 (0)