|
@@ -136,7 +136,7 @@
|
|
|
{#each token.header as header, headerIdx}
|
|
|
<th
|
|
|
scope="col"
|
|
|
- class="px-2.5! py-1.5! cursor-pointer border-b border-gray-100! dark:border-gray-800!"
|
|
|
+ class="px-2.5! py-2! cursor-pointer border-b border-gray-100! dark:border-gray-800!"
|
|
|
style={token.align[headerIdx] ? '' : `text-align: ${token.align[headerIdx]}`}
|
|
|
>
|
|
|
<div class="gap-1.5 text-left">
|
|
@@ -158,7 +158,11 @@
|
|
|
<tr class="bg-white dark:bg-gray-900 text-xs">
|
|
|
{#each row ?? [] as cell, cellIdx}
|
|
|
<td
|
|
|
- class="px-3! py-2! text-gray-900 dark:text-white w-max border-b border-gray-50! dark:border-gray-850!"
|
|
|
+ class="px-3! py-2! text-gray-900 dark:text-white w-max {token.rows.length -
|
|
|
+ 1 ===
|
|
|
+ rowIdx
|
|
|
+ ? ''
|
|
|
+ : 'border-b border-gray-50! dark:border-gray-850!'}"
|
|
|
style={token.align[cellIdx] ? `text-align: ${token.align[cellIdx]}` : ''}
|
|
|
>
|
|
|
<div class="break-normal">
|