We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9377497 commit 21c3deeCopy full SHA for 21c3dee
src/lib/StatsTable.svelte
@@ -53,17 +53,15 @@
53
<tr>
54
<th>2040 reductions<br />relative to 2015</th>
55
{#each Object.keys(allocationMethods) as id}
56
- <th>
57
- <span class={id === 'GF' ? grandfatheringColor : ''}>
+ <td class={id==='GF' ? grandfatheringColor : ""}>
58
{reductions[id][2040] === null ? '-' : $tweenedReductions[id][2040].toFixed(0)}%
59
- </span>
60
- </th>
+ </td>
61
{/each}
62
</tr>
63
64
<th>Display graph</th>
65
{#each Object.entries(allocationMethods) as [id, { color }]}
66
+ <td>
67
{#if availableAllocationMethods.has(id)}
68
<input
69
type="checkbox"
@@ -80,7 +78,7 @@
80
78
title="Not available for this region"
81
79
/>
82
{/if}
83
84
85
86
</tbody>
0 commit comments