Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

Commit 27ea723

Browse files
authored
fix bugs lars found (#55)
* fix bugs lars found * last bug
1 parent 2322c6d commit 27ea723

File tree

5 files changed

+435
-408
lines changed

5 files changed

+435
-408
lines changed

src/Chain.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@
408408
</p>
409409
{/if}
410410
</div>
411-
{#if chainIterations[currentChainIndex].costmodel.name !== "Fixed Price" && chainIterations[currentChainIndex].costmodel.algorithm !== "TEMO"}
411+
{#if chainIterations[currentChainIndex].costmodel.name !== "Fixed Price" && chainIterations[currentChainIndex].costmodel.name !== "TEMO"}
412412
<div>
413413
<label
414414
for="costModelAlgo-{currentChainIndex}"

src/Sidebar.svelte

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -222,30 +222,30 @@
222222
</button>
223223
<div class="flex flex-col gap-2 p-4">
224224
<div class="mb-2 flex items-center">
225-
<div class="mr-2 h-4 w-4 bg-gray-700"></div>
226-
<p>contain the time slots that are unavailable to plan appliances in.</p>
225+
<div class="mr-2 h-4 w-4 flex-shrink-0 bg-gray-700"></div>
226+
<p>Contain the time slots that are unavailable to plan appliances in.</p>
227227
</div>
228228
<div class="mb-2 flex items-center">
229-
<div class="mr-2 h-4 w-4 bg-blue-700"></div>
230-
<p>contain the time slots that are available to plan appliances in.</p>
229+
<div class="mr-2 h-4 w-4 flex-shrink-0 bg-blue-700"></div>
230+
<p>Contain the time slots that are available to plan appliances in.</p>
231231
</div>
232232
<div class="mb-2 flex items-center">
233-
<div class="mr-2 h-4 w-4 bg-green-700"></div>
234-
<p>indicate that the planned energy used is drawn from solar panels.</p>
233+
<div class="mr-2 h-4 w-4 flex-shrink-0 bg-green-700"></div>
234+
<p>Indicate that the planned energy used is drawn from solar panels.</p>
235235
</div>
236236
<div class="flex items-center">
237-
<div class="mr-2 h-4 w-4 bg-red-700"></div>
238-
<p>indicate that the planned energy used is drawn from the national grid.</p>
237+
<div class="mr-2 h-4 w-4 flex-shrink-0 bg-red-700"></div>
238+
<p>Indicate that the planned energy used is drawn from the national grid.</p>
239239
</div>
240240
<div class="flex items-center">
241-
<div class="mr-2 h-4 w-4 bg-red-950"></div>
241+
<div class="mr-2 h-4 w-4 flex-shrink-0 bg-red-950"></div>
242242
<p>
243243
The algorithm attempted to plan energy usage at a location where energy was drawn from
244244
the national grid, but the household's time window was missing.
245245
</p>
246246
</div>
247247
<div class="flex items-center">
248-
<div class="mr-2 h-4 w-4 bg-yellow-700"></div>
248+
<div class="mr-2 h-4 w-4 flex-shrink-0 bg-yellow-700"></div>
249249
<p>
250250
The algorithm attempted to plan energy usage at a location where energy was drawn from
251251
the solar panels, but the household's time window was missing.

0 commit comments

Comments
 (0)