Skip to content
Snippets Groups Projects
Commit c81b6894 authored by David Smadja's avatar David Smadja
Browse files

bind screenWidth

parent e70fbe6a
No related branches found
No related tags found
1 merge request!1Temp
......@@ -10,6 +10,8 @@
let billHTML = $state(data.billHTML)
</script>
<svelte:window bind:innerWidth={screenWidth} />
<p>{screenWidth}</p>
<div class="fixed flex min-h-full w-full flex-row overflow-hidden">
<div class="h-screen w-1/2 overflow-y-auto"><Bill {billHTML}></Bill></div>
<div class="h-screen w-1/2 overflow-y-auto bg-amber-200">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment