mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-02 16:52:31 +00:00
fix pointer events
This commit is contained in:
@@ -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>
|
||||||
|
Reference in New Issue
Block a user