mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-18 16:02:10 +00:00
fix detail page layout
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user