diff --git a/src/app.css b/src/app.css index 50fa960..4230920 100644 --- a/src/app.css +++ b/src/app.css @@ -75,8 +75,4 @@ .multimodal { @apply flex gap-1 items-end; } - - .section-title { - @apply font-semibold text-xl; - } } diff --git a/src/connect/ConnectSection.svelte b/src/connect/ConnectSection.svelte index c38b421..e53a1e0 100644 --- a/src/connect/ConnectSection.svelte +++ b/src/connect/ConnectSection.svelte @@ -33,7 +33,7 @@ hid.addEventListener('disconnect', e => { if (device === e.device) { - toast.info('Device disconnected') + toast.info('Device disconnected') onchange(null) } }) @@ -47,13 +47,15 @@

Connect to a device

- {#if device !== null} - Successfully conected to device. If you want to, you can connect to another device - instead. - {:else} - Not connected to any device yet. Plug in your device, and click the button to select - it. - {/if} +
+ {#if device === null} + Not connected to any device yet. Plug in your device, and click on the button to select + it. + {:else} + Successfully conected to device. If you want to, you can connect to another device + instead. + {/if} +
diff --git a/src/write/WriteButton.svelte b/src/write/WriteButton.svelte index b3788fc..d8d1fb1 100644 --- a/src/write/WriteButton.svelte +++ b/src/write/WriteButton.svelte @@ -2,7 +2,7 @@ import { Button } from '$lib/components/ui/button' import { toast } from 'svelte-sonner' - import IconUpload from '~icons/material-symbols/upload' + import IconUpload from '~icons/material-symbols/upload-2' interface Props { device: HIDDevice | null diff --git a/src/write/WriteSection.svelte b/src/write/WriteSection.svelte index 49bb0cf..1f51f33 100644 --- a/src/write/WriteSection.svelte +++ b/src/write/WriteSection.svelte @@ -1,7 +1,8 @@