fix overflow bug

This commit is contained in:
vcoppe
2024-07-05 22:13:33 +02:00
parent fcb81e2a96
commit ac20b5a6e7
3 changed files with 17 additions and 17 deletions

View File

@@ -544,8 +544,8 @@
</script>
<div class="h-full grow min-w-0 flex flex-row gap-4 items-center {$$props.class ?? ''}">
<div class="grow h-full min-w-0">
<canvas bind:this={overlay} class="absolute pointer-events-none"></canvas>
<div class="grow h-full min-w-0 relative">
<canvas bind:this={overlay} class=" w-full h-full absolute pointer-events-none"></canvas>
<canvas bind:this={canvas} class="w-full h-full"></canvas>
</div>
<div class="h-full flex flex-col justify-center" style="width: {panelSize > 158 ? 22 : 42}px">