fix copilot placement

This commit is contained in:
Guilhem
2024-10-08 12:39:15 +02:00
parent 86057a1176
commit 3429bfa146
2 changed files with 2 additions and 2 deletions
@@ -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">