Skip to content

Commit 0e70240

Browse files
committed
refactor(ui): Improve layout of New Run page for better width utilization
1 parent 67ed420 commit 0e70240

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

evals/apps/web/src/app/runs/new/new-run.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,7 @@ export function NewRun() {
321321
)}
322322
/>
323323

324-
{/* Add Advanced Settings component for OpenRouter mode */}
325-
<AdvancedSettings />
324+
{/* AdvancedSettings moved below */}
326325
</div>
327326
)}
328327

@@ -424,6 +423,8 @@ export function NewRun() {
424423
<FormMessage />
425424
</FormItem>
426425
</div>
426+
{/* Render AdvancedSettings below the main row if in openrouter mode */}
427+
{mode === "openrouter" && <AdvancedSettings />}
427428

428429
<FormField
429430
control={form.control}

evals/apps/web/src/app/runs/new/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { NewRun } from "./new-run"
22

33
export default function Page() {
44
return (
5-
<div className="max-w-3xl mx-auto px-12 p-12">
5+
<div className="max-w-7xl mx-auto px-12 p-12">
66
<NewRun />
77
</div>
88
)

0 commit comments

Comments
 (0)