full height for script/flow result (#7834)

This commit is contained in:
Guilhem
2026-02-06 16:02:27 +00:00
committed by GitHub
parent e1b4ba7597
commit 571d40adee
2 changed files with 3 additions and 3 deletions
@@ -1311,7 +1311,7 @@
{/if} -->
{#if isListJob}
{#if render}
<div class="w-full h-full border rounded-sm bg-surface p-1 overflow-auto">
<div class="w-full border rounded-sm bg-surface p-1 overflow-auto max-h-[90vh]">
<DisplayResult
workspaceId={job?.workspace_id}
{jobId}
@@ -1376,7 +1376,7 @@
{:else}
<!-- Default single-column result -->
<h3 class="text-xs font-semibold text-emphasis mb-1">Result</h3>
<div class="flex-1 overflow-auto rounded-md border bg-surface-tertiary p-4 max-h-[400px]">
<div class="flex-1 overflow-auto rounded-md border bg-surface-tertiary p-4 max-h-screen">
{#if job !== undefined && (job.result_stream || (job.type == 'CompletedJob' && 'result' in job && job.result !== undefined))}
<DisplayResult
workspaceId={job?.workspace_id}
@@ -771,7 +771,7 @@
{#if job}
<div class="mr-2 sm:mr-0 mt-12 mb-6">
<h3 class="text-xs font-semibold text-emphasis mb-1">Result</h3>
<div class="border rounded-md bg-surface-tertiary p-4 overflow-auto max-h-[400px]">
<div class="border rounded-md bg-surface-tertiary p-4 overflow-auto max-h-screen">
{#if job.result_stream || (job.type == 'CompletedJob' && job.result !== undefined)}
<DisplayResult
workspaceId={job?.workspace_id}