fix pointer events
This commit is contained in:
parent
482dff54f4
commit
ae7806a553
1 changed files with 2 additions and 2 deletions
|
@ -106,14 +106,14 @@
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="h-10 -translate-y-10 w-full">
|
<div class="h-10 -translate-y-10 w-full pointer-events-none">
|
||||||
<ScrollArea orientation="horizontal" class="w-full h-full" scrollbarXClasses="h-2">
|
<ScrollArea orientation="horizontal" class="w-full h-full" scrollbarXClasses="h-2">
|
||||||
<div bind:this={tabs} class="flex flex-row gap-1">
|
<div bind:this={tabs} class="flex flex-row gap-1">
|
||||||
{#each $files as file, index}
|
{#each $files as file, index}
|
||||||
<button
|
<button
|
||||||
bind:this={buttons[index]}
|
bind:this={buttons[index]}
|
||||||
data-id={index}
|
data-id={index}
|
||||||
class="my-1 px-1.5 py-1 rounded bg-secondary hover:bg-gray-200 shadow-none first:ml-1 last:mr-1"
|
class="my-1 px-1.5 py-1 rounded bg-secondary hover:bg-gray-200 shadow-none first:ml-1 last:mr-1 pointer-events-auto"
|
||||||
>
|
>
|
||||||
{get(file).metadata.name}
|
{get(file).metadata.name}
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in a new issue