From 13db361cb9ecbb0de17f0b23aa729f1e0f969294 Mon Sep 17 00:00:00 2001 From: daylily Date: Tue, 13 Jan 2026 18:04:58 -0400 Subject: [PATCH] Fix minor alignment jank --- webapp/src/App.svelte | 2 +- webapp/src/lib/layouts/connect/ConnectSection.svelte | 7 ++++--- webapp/src/lib/layouts/write/WriteSection.svelte | 11 ++++++----- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/webapp/src/App.svelte b/webapp/src/App.svelte index 26522d7..62e37da 100644 --- a/webapp/src/App.svelte +++ b/webapp/src/App.svelte @@ -9,7 +9,7 @@ import Main from '$lib/layouts/Main.svelte' -
+
diff --git a/webapp/src/lib/layouts/connect/ConnectSection.svelte b/webapp/src/lib/layouts/connect/ConnectSection.svelte index 035083c..57e30e5 100644 --- a/webapp/src/lib/layouts/connect/ConnectSection.svelte +++ b/webapp/src/lib/layouts/connect/ConnectSection.svelte @@ -41,11 +41,12 @@ $effect(() => {

Connect to a device

-
+
{#if deviceCtx.device === null} - Not connected to any device yet. Plug in your device to connect. + Not connected to any device yet. Plug in your + device to connect. {:else} - + {#snippet icon()} {/snippet} diff --git a/webapp/src/lib/layouts/write/WriteSection.svelte b/webapp/src/lib/layouts/write/WriteSection.svelte index 025935c..50a154f 100644 --- a/webapp/src/lib/layouts/write/WriteSection.svelte +++ b/webapp/src/lib/layouts/write/WriteSection.svelte @@ -15,14 +15,15 @@ let inProgress = $state(false)

Write pattern to device

-
+
{#if imageCtx.image === null} - Select an image file in order to write it onto your device. + Select an image file in order to write it + onto your device. {:else if !inProgress} - Write the pattern onto your device if you have finished - editing the image. + Write the pattern onto your device + if you have finished editing the image. {:else} - Refresh in progress. Do not disconnect device. + Refresh in progress. Do not disconnect device. {/if}