From d0a37196a896a88ec91b2a8d0c6545370672ab56 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Mon, 10 Oct 2022 00:42:54 +0800 Subject: refactor: Formatting --- code/app/src/lib/components/switch.svelte | 30 ++++++------------------------ 1 file changed, 6 insertions(+), 24 deletions(-) (limited to 'code/app/src/lib/components/switch.svelte') diff --git a/code/app/src/lib/components/switch.svelte b/code/app/src/lib/components/switch.svelte index 16da23a..79f2d67 100644 --- a/code/app/src/lib/components/switch.svelte +++ b/code/app/src/lib/components/switch.svelte @@ -5,18 +5,15 @@ -
+
{#if hasLabelOrDescription && !rightAlignedLabelDescription} {#if label} @@ -50,10 +43,7 @@ on:click={toggle} > {srText} -