mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-08 16:02:30 +00:00
app nits
This commit is contained in:
@@ -402,7 +402,7 @@
|
||||
>{:else}<div
|
||||
class="inline-highlight relative grow {['plain', 'markdown'].includes(resultKind ?? '')
|
||||
? ''
|
||||
: 'min-h-[200px]'}"
|
||||
: 'min-h-[160px]'}"
|
||||
>{#if result != undefined && length != undefined && largeObject != undefined}<div
|
||||
class="flex justify-between items-center w-full"
|
||||
><div class="text-tertiary text-sm">
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import type { AppEditorContext } from '../types'
|
||||
import TestJobLoader from '$lib/components/TestJobLoader.svelte'
|
||||
import type { Job } from '$lib/gen'
|
||||
import RunnalbeJobPanelInner from './RunnalbeJobPanelInner.svelte'
|
||||
import RunnableJobPanelInner from './RunnableJobPanelInner.svelte'
|
||||
|
||||
export let float: boolean = true
|
||||
export let hidden: boolean = false
|
||||
@@ -56,12 +56,12 @@
|
||||
class="absolute z-[100] top-0 right-0 border-t h-full"
|
||||
style="width: {$runnableJobEditorPanel.width}px; transform: translateX({$runnableJobEditorPanel.width}px);"
|
||||
>
|
||||
<RunnalbeJobPanelInner {frontendJob} {testJob} />
|
||||
<RunnableJobPanelInner {testIsLoading} {frontendJob} {testJob} />
|
||||
</div>
|
||||
{:else}
|
||||
<div class="flex flex-col w-full">
|
||||
{#if $selectedComponentInEditor}
|
||||
<RunnalbeJobPanelInner {frontendJob} {testJob} />
|
||||
<RunnableJobPanelInner {testIsLoading} {frontendJob} {testJob} />
|
||||
{:else if !hidden}
|
||||
<div class="text-sm text-secondary text-center py-8 px-2 border-l h-full">
|
||||
Logs and results will be displayed here
|
||||
|
||||
+1
-2
@@ -7,8 +7,7 @@
|
||||
|
||||
export let frontendJob: boolean | any = false
|
||||
export let testJob: Job | any = undefined
|
||||
|
||||
let testIsLoading = false
|
||||
export let testIsLoading = false
|
||||
|
||||
let logDrawerOpen = false
|
||||
let resultDrawerOpen = false
|
||||
Reference in New Issue
Block a user