fix z-stacking on chrome for flow builder

This commit is contained in:
Ruben Fiszel
2023-03-07 19:23:24 +01:00
parent 6b5c4efa83
commit daed141fa2
2 changed files with 3 additions and 2 deletions

View File

@@ -25,7 +25,7 @@
<!-- svelte-ignore a11y-click-events-have-key-events -->
<div
class={twMerge(
'border-b-2 py-1 px-4 cursor-pointer transition-all ease-linear font-medium',
'border-b-2 py-1 px-4 cursor-pointer transition-all z-10 ease-linear font-medium',
$selected?.startsWith(value)
? 'border-gray-600 text-gray-800 '
: 'border-gray-300 border-opacity-0 hover:border-opacity-100 text-gray-600',

View File

@@ -177,7 +177,7 @@
style="max-height: calc(100% - {totalTopGap}px) !important;"
>
<Splitpanes horizontal>
<Pane class="-z-10" size={isScript ? 30 : 50} minSize={20}>
<Pane size={isScript ? 30 : 50} minSize={20}>
{#if value.type === 'rawscript'}
<div class="h-full">
<Editor
@@ -203,6 +203,7 @@
await reload(flowModule)
}}
formatAction={() => reload(flowModule)}
fixedOverflowWidgets
/>
</div>
{:else if value.type === 'script'}