Skip to content

Commit

Permalink
fix: precipitation view being not fully displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
farfromrefug committed Jan 16, 2025
1 parent ad5bbf4 commit 730bd0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/DailyPage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@
<canvasview height={Math.ceil(last24Data.length * 30 + 45) * $fontScale} on:draw={drawLast24} />
{/if}
{#if next24Data.length > 0}
<canvasview height={Math.ceil(next24Data.length * 30 + (last24Data.length > 0 ? 45 : 0)) * $fontScale} on:draw={drawNext24} />
<canvasview height={Math.ceil(next24Data.length * 30 + (last24Data.length > 0 ? 45 : 15)) * $fontScale} on:draw={drawNext24} />
{/if}

{#if item.pollutants}
Expand Down

0 comments on commit 730bd0a

Please sign in to comment.