add basic table styling

This commit is contained in:
Philipp Dormann 2023-04-12 16:05:42 +02:00
parent 67eff0eda9
commit c5e8409079
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314

View File

@ -124,12 +124,12 @@
bind:generate_runners bind:generate_runners
/> />
</div> </div>
<table> <table class="w-full">
<thead> <thead>
{#each $table.getHeaderGroups() as headerGroup} {#each $table.getHeaderGroups() as headerGroup}
<tr> <tr class="select-none">
{#each headerGroup.headers as header} {#each headerGroup.headers as header}
<th> <th class="cursor-pointer">
{#if !header.isPlaceholder} {#if !header.isPlaceholder}
<div on:click={header.column.getToggleSortingHandler()}> <div on:click={header.column.getToggleSortingHandler()}>
<svelte:component <svelte:component