mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-05 00:03:08 +00:00
fix copilot placement
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
getContext<FlowCopilotContext | undefined>('FlowCopilotContext') || {}
|
||||
</script>
|
||||
|
||||
<div class={twMerge('', className)}>
|
||||
<div class={className}>
|
||||
<Popover>
|
||||
<div class={openNoCopilot ? 'z-10' : ''}>
|
||||
<Menu pointerDown noMinW placement="bottom-center" let:close bind:show={openNoCopilot}>
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
{#if mod}
|
||||
<div class="relative">
|
||||
{#if insertable && !disableAi && mod.id === 'preprocessor'}
|
||||
<FlowCopilotButton className="-top-10" />
|
||||
<FlowCopilotButton className="absolute left-1/2 transform -translate-x-1/2 z-10 -top-10" />
|
||||
{/if}
|
||||
{#if moving == mod.id}
|
||||
<div class="absolute z-10 right-20 top-0.5 center-center">
|
||||
|
||||
Reference in New Issue
Block a user