File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed
Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 66 children? : import (' svelte' ).Snippet ;
77 }
88
9- let { children, className }: Props = $props ();
9+ let { children, className}: Props = $props ();
1010 </script >
1111
12- <div
13- id =" sidebar"
14- class ={clsx (' flex h-full w-1/3 flex-col place-content-stretch gap-4 2xl:w-1/4' , className )}
15- >
12+ <div id ="sidebar" class ={clsx (" flex h-full w-1/3 flex-col place-content-stretch gap-4 2xl:w-1/4" , className )}>
1613 {@render children ?.()}
1714</div >
Original file line number Diff line number Diff line change 3232 <th >Allocation method</th >
3333 {#each Object .values (allocationMethods ) as { label }}
3434 <th >
35- {#if label === ' Grandfathering' }
35+ {#if label === ' Grandfathering' }
3636 <span class ={grandfatheringColor }>{label }</span >
3737 {:else }
3838 {label }
4545 <tr >
4646 <th >2030 reductions<br />relative to 2015</th >
4747 {#each Object .keys (allocationMethods ) as id }
48- <td class ={id === ' GF' ? grandfatheringColor : ' ' }>
49- {reductions [id ][2030 ] === null ? ' -' : $tweenedReductions [id ][2030 ].toFixed (0 )}%
48+ <td class ={id === ' GF' ? grandfatheringColor : " " }>
49+ {reductions [id ][2030 ] === null ? ' -' : $tweenedReductions [id ][2030 ].toFixed (0 )}%
5050 </td >
5151 {/each }
5252 </tr >
5353 <tr >
5454 <th >2040 reductions<br />relative to 2015</th >
5555 {#each Object .keys (allocationMethods ) as id }
56- <td class ={id === ' GF' ? grandfatheringColor : ' ' }>
57- {reductions [id ][2040 ] === null ? ' -' : $tweenedReductions [id ][2040 ].toFixed (0 )}%
56+ <td class ={id === ' GF' ? grandfatheringColor : " " }>
57+ {reductions [id ][2040 ] === null ? ' -' : $tweenedReductions [id ][2040 ].toFixed (0 )}%
5858 </td >
5959 {/each }
6060 </tr >
You can’t perform that action at this time.
0 commit comments