fix(data-table): apply custom widths to empty columns

Fixes #1313
This commit is contained in:
Eric Liu 2022-05-25 18:48:22 -07:00
commit 78d4fa70fa

View file

@ -333,7 +333,7 @@
{/if}
{#each headers as header, i (header.key)}
{#if header.empty}
<th scope="col"></th>
<th scope="col" style="{formatHeaderWidth(header)}"></th>
{:else}
<TableHeader
id="{header.key}"