Files
inkclip/webapp/src/lib/layouts/edit/EditSection.svelte
T
2026-01-14 09:30:12 -04:00

18 lines
560 B
Svelte

<script lang="ts">
import { Separator } from '$lib/components/ui/separator'
import { MediaQuery } from 'svelte/reactivity'
import ControlsSection from './controls/ControlsSection.svelte'
import PreviewSection from './preview/PreviewSection.svelte'
const mediaLg = new MediaQuery('min-width: 1024px')
const separatorOrientation = $derived(mediaLg.current ? 'vertical' : 'horizontal')
</script>
<div class="flex grow flex-col gap-4 lg:flex-row">
<PreviewSection />
<Separator decorative orientation={separatorOrientation} />
<ControlsSection />
</div>