Просмотр исходного кода

Fix sticky positioning on welcome screen

Matt Rubens 11 месяцев назад
Родитель
Сommit
fb47ae0ec6
1 измененных файлов с 12 добавлено и 14 удалено
  1. 12 14
      webview-ui/src/components/welcome/WelcomeView.tsx

+ 12 - 14
webview-ui/src/components/welcome/WelcomeView.tsx

@@ -22,20 +22,18 @@ const WelcomeView = () => {
 
 	return (
 		<div className="flex flex-col min-h-screen px-0 pb-5">
-			<div className="flex-grow">
-				<h2>Hi, I'm Roo!</h2>
-				<p>
-					I can do all kinds of tasks thanks to the latest breakthroughs in agentic coding capabilities and
-					access to tools that let me create & edit files, explore complex projects, use the browser, and
-					execute terminal commands (with your permission, of course). I can even use MCP to create new tools
-					and extend my own capabilities.
-				</p>
-
-				<b>To get started, this extension needs an API provider.</b>
-
-				<div className="mt-3">
-					<ApiOptions fromWelcomeView />
-				</div>
+			<h2>Hi, I'm Roo!</h2>
+			<p>
+				I can do all kinds of tasks thanks to the latest breakthroughs in agentic coding capabilities and access
+				to tools that let me create & edit files, explore complex projects, use the browser, and execute
+				terminal commands (with your permission, of course). I can even use MCP to create new tools and extend
+				my own capabilities.
+			</p>
+
+			<b>To get started, this extension needs an API provider.</b>
+
+			<div className="mt-3">
+				<ApiOptions fromWelcomeView />
 			</div>
 
 			<div className="sticky bottom-0 bg-[var(--vscode-editor-background)] py-3">