fix(CardsOverview): table scroll + checkbox posititioning
This commit is contained in:
parent
1ec9556aa6
commit
9c13b2f9e9
@ -167,8 +167,7 @@
|
|||||||
<p class="font-bold">{$_("loading-cards")}</p>
|
<p class="font-bold">{$_("loading-cards")}</p>
|
||||||
<p class="text-sm">{$_("this-might-take-a-moment")}</p>
|
<p class="text-sm">{$_("this-might-take-a-moment")}</p>
|
||||||
</div>
|
</div>
|
||||||
{:else}
|
{:else if current_cards.length === 0}
|
||||||
{#if current_cards.length === 0}
|
|
||||||
<CardsEmptyState />
|
<CardsEmptyState />
|
||||||
{:else}
|
{:else}
|
||||||
<div class="h-12 mt-1">
|
<div class="h-12 mt-1">
|
||||||
@ -218,6 +217,7 @@
|
|||||||
{/if}
|
{/if}
|
||||||
<GenerateRunnerCards bind:cards_show bind:generate_cards />
|
<GenerateRunnerCards bind:cards_show bind:generate_cards />
|
||||||
</div>
|
</div>
|
||||||
|
<div class="overflow-x-auto">
|
||||||
<table class="w-full">
|
<table class="w-full">
|
||||||
<thead>
|
<thead>
|
||||||
{#each $table.getHeaderGroups() as headerGroup}
|
{#each $table.getHeaderGroups() as headerGroup}
|
||||||
@ -260,21 +260,7 @@
|
|||||||
{/each}
|
{/each}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
<TableBottom {table} {selected} />
|
<TableBottom {table} {selected} />
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
|
||||||
|
|
||||||
<style>
|
|
||||||
table tbody {
|
|
||||||
display: block;
|
|
||||||
overflow-y: scroll;
|
|
||||||
}
|
|
||||||
|
|
||||||
table thead,
|
|
||||||
table tbody tr {
|
|
||||||
display: table;
|
|
||||||
width: 100%;
|
|
||||||
table-layout: fixed;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user