fix detail page layout

This commit is contained in:
Ruben Fiszel
2023-11-10 11:06:08 +01:00
parent f113851aa1
commit 7946d58a6f
@@ -10,10 +10,10 @@
let mobileTab: 'form' | 'detail' = 'form'
let clientWidth = 0
let clientWidth = window.innerWidth
</script>
<main class="h-screen" bind:clientWidth>
<main class="h-screen w-full" bind:clientWidth>
{#if clientWidth >= 768}
<div class="h-full w-full">
<slot name="header" />