fix(frontend): improve result, flow status and log components (#3653)

This commit is contained in:
Faton Ramadani
2024-05-01 10:25:06 +02:00
committed by GitHub
parent 790f263e56
commit aa6204ff99
3 changed files with 7 additions and 7 deletions

View File

@@ -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'
)}

View File

@@ -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}

View File

@@ -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}