fix: checkbox styling

This commit is contained in:
Philipp Dormann 2023-04-12 18:31:43 +02:00
parent a06a19ce9c
commit 64db553185
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314

View File

@ -150,7 +150,7 @@
<thead> <thead>
{#each $table.getHeaderGroups() as headerGroup} {#each $table.getHeaderGroups() as headerGroup}
<tr class="select-none"> <tr class="select-none">
<th class="inset-y-0 left-0 px-4 py-2 text-left bg-stone-100 w-px"> <th class="inset-y-0 left-0 px-4 py-2 text-left w-px">
<InputElement <InputElement
type="checkbox" type="checkbox"
checked={$table.getIsAllRowsSelected()} checked={$table.getIsAllRowsSelected()}
@ -213,7 +213,7 @@
<tbody> <tbody>
{#each $table.getRowModel().rows as row} {#each $table.getRowModel().rows as row}
<tr> <tr>
<td class="inset-y-0 left-0 px-4 py-2"> <td class="inset-y-0 left-0 px-4 py-2 text-center w-px">
<InputElement <InputElement
type="checkbox" type="checkbox"
checked={row.getIsSelected()} checked={row.getIsSelected()}