fix(frontend): fix full screen mode of the EvalInputEditor (#3928)

* update datafusion

* fix(frontend): fix full screen mode of the EvalInputEditor

* fix(frontend): improve code

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
This commit is contained in:
Faton Ramadani
2024-06-19 10:19:15 +02:00
committed by GitHub
co-authored by Ruben Fiszel
parent c04d228196
commit af940a46fc
3 changed files with 21 additions and 4 deletions
@@ -10,6 +10,7 @@
import { Drawer } from '$lib/components/common'
import { Pane, Splitpanes } from 'svelte-splitpanes'
import Toggle from '$lib/components/Toggle.svelte'
import { zIndexes } from '$lib/zIndexes'
export let componentInput: EvalV2AppInput | undefined
export let id: string
@@ -56,7 +57,12 @@
{#if componentInput?.type === 'evalv2'}
{#if fullscreen}
<Drawer placement="bottom" on:close={() => (fullscreen = false)} open>
<Drawer
placement="bottom"
on:close={() => (fullscreen = false)}
open
offset={zIndexes.monacoEditor}
>
<Splitpanes horizontal class="h-full">
<Pane size={50}>
<SimpleEditor