fix(frontend): improve result, flow status and log components (#3653)
This commit is contained in:
@@ -66,10 +66,10 @@
|
||||
{/each}
|
||||
|
||||
<RunnableWrapper {outputs} {render} {componentInput} {id} bind:initializing bind:result>
|
||||
<div class="flex flex-col w-full h-full">
|
||||
<div class="flex flex-col w-full h-full component-wrapper">
|
||||
<div
|
||||
class={twMerge(
|
||||
'w-full border-b px-2 text-xs p-1 font-semibold bg-gray-500 text-white rounded-t-sm',
|
||||
'w-full border-b p-2 text-xs font-semibold text-primary bg-surface-secondary',
|
||||
css?.header?.class,
|
||||
'wm-rich-result-header'
|
||||
)}
|
||||
|
||||
@@ -57,10 +57,10 @@
|
||||
{/each}
|
||||
|
||||
<RunnableWrapper {outputs} {render} {componentInput} {id}>
|
||||
<div class="flex flex-col w-full h-full">
|
||||
<div class="flex flex-col w-full h-full component-wrapper">
|
||||
<div
|
||||
class={twMerge(
|
||||
'w-full border-b px-2 text-xs p-1 font-semibold bg-gray-500 text-white rounded-t-sm',
|
||||
'w-full border-b p-2 text-xs font-semibold text-primary bg-surface-secondary',
|
||||
css?.header?.class
|
||||
)}
|
||||
style={css?.header?.style}
|
||||
|
||||
@@ -68,10 +68,10 @@
|
||||
<TestJobLoader bind:this={testJobLoader} bind:isLoading={testIsLoading} bind:job={testJob} />
|
||||
|
||||
<RunnableWrapper {outputs} {render} {componentInput} {id}>
|
||||
<div class="flex flex-col w-full h-full">
|
||||
<div class="flex flex-col w-full h-full component-wrapper">
|
||||
<div
|
||||
class={twMerge(
|
||||
'w-full border-b px-2 text-xs p-1 font-semibold bg-gray-500 text-white rounded-t-sm',
|
||||
'w-full border-b p-2 text-xs font-semibold text-primary bg-surface-secondary',
|
||||
css?.header?.class
|
||||
)}
|
||||
style={css?.header?.style}
|
||||
@@ -80,7 +80,7 @@
|
||||
</div>
|
||||
<div
|
||||
style={css?.container?.style}
|
||||
class={twMerge('p-2 grow overflow-auto', css?.container?.class, 'wm-log-container')}
|
||||
class={twMerge('grow overflow-auto', css?.container?.class, 'wm-log-container')}
|
||||
>
|
||||
<LogViewer
|
||||
jobId={testJob?.id}
|
||||
|
||||
Reference in New Issue
Block a user