Lib: Make table non-interactive (use pointer cursor instead)

This commit is contained in:
2025-01-25 18:35:27 +01:00
parent c39a10abe5
commit 8fec70384d

View File

@ -16,7 +16,7 @@
</script>
<div class="table-container bg-white shadow">
<table class="table table-interactive table-compact bg-white">
<table class="table table-compact bg-white">
<thead>
<tr class="bg-surface-500">
{#each columns as col}
@ -28,7 +28,7 @@
<tbody>
{#each data as row}
<tr
class="bg-surface-300"
class="cursor-pointer bg-surface-300"
onclick={async (event: Event) => {
if (handler) await handler(event, row.id);
}}