Skip to content

Commit 21c3dee

Browse files
committed
Adjusting the other rows from th to td
1 parent 9377497 commit 21c3dee

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/lib/StatsTable.svelte

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,15 @@
5353
<tr>
5454
<th>2040 reductions<br />relative to 2015</th>
5555
{#each Object.keys(allocationMethods) as id}
56-
<th>
57-
<span class={id === 'GF' ? grandfatheringColor : ''}>
56+
<td class={id==='GF' ? grandfatheringColor : ""}>
5857
{reductions[id][2040] === null ? '-' : $tweenedReductions[id][2040].toFixed(0)}%
59-
</span>
60-
</th>
58+
</td>
6159
{/each}
6260
</tr>
6361
<tr>
6462
<th>Display graph</th>
6563
{#each Object.entries(allocationMethods) as [id, { color }]}
66-
<th>
64+
<td>
6765
{#if availableAllocationMethods.has(id)}
6866
<input
6967
type="checkbox"
@@ -80,7 +78,7 @@
8078
title="Not available for this region"
8179
/>
8280
{/if}
83-
</th>
81+
</td>
8482
{/each}
8583
</tr>
8684
</tbody>

0 commit comments

Comments
 (0)