fix(frontend): Fix App Modal z-index (#2210)

* fix(frontend): Fix App Modal z-index

* fix(frontend): fix build
This commit is contained in:
Faton Ramadani
2023-09-01 08:01:26 +02:00
committed by GitHub
parent a34b91b386
commit 9787edb67c
2 changed files with 5 additions and 3 deletions
@@ -115,7 +115,8 @@
`${
$mode == 'dnd' ? 'absolute' : 'fixed'
} top-0 bottom-0 left-0 right-0 transition-all duration-50`,
open ? 'z-[1100] bg-black bg-opacity-60' : 'h-0 overflow-hidden'
open ? ' bg-black bg-opacity-60' : 'h-0 overflow-hidden',
$mode === 'dnd' ? 'z-[1000]' : 'z-[1100]'
)}
>
<div
@@ -23,7 +23,6 @@
import JobPreview from './JobPreview.svelte'
import TimeAgo from '../TimeAgo.svelte'
import { forLater } from '$lib/forLater'
import { workspaceStore } from '$lib/stores'
const SMALL_ICON_SCALE = 0.7
@@ -200,7 +199,9 @@
<Icon class="text-secondary" data={faRobot} scale={SMALL_ICON_SCALE} /><span
class="mx-1"
>
Parent <a href={`/run/${job.parent_job}?workspace=${job.workspace_id}`}>{job.parent_job}</a></span
Parent <a href={`/run/${job.parent_job}?workspace=${job.workspace_id}`}
>{job.parent_job}</a
></span
>
{/if}
{:else if job && job.schedule_path}