mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-12 00:06:14 +00:00
full height for script/flow result (#7834)
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user