+page.svelte 348 Bytes
Newer Older
Timothy J. Baek's avatar
Timothy J. Baek committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<script>
	import { showSidebar } from '$lib/stores';

	import Playground from '$lib/components/workspace/Playground.svelte';
</script>

<div
	class=" flex flex-col w-full min-h-screen max-h-screen {$showSidebar
		? 'md:max-w-[calc(100%-260px)]'
		: ''}"
>
	<div class=" py-4 px-5 flex-1 max-h-full overflow-y-auto">
		<Playground />
	</div>
</div>