From 09113fec2f5605f43f7ac24c29a1d04ea8ae925f Mon Sep 17 00:00:00 2001 From: Pavel Laptev Date: Sat, 4 May 2024 23:26:08 +0200 Subject: [PATCH] fix layout on project setup - fix text when open `login page` in a browser - remove `name` from Toggle. We didn't use it - fields layout updated --- app/src/lib/components/Login.svelte | 32 ++++---- .../lib/components/ProjectNameLabel.svelte | 4 +- .../lib/components/ProjectSetupTarget.svelte | 79 ++++++++++++------- app/src/lib/components/SetupFeature.svelte | 20 ++++- app/src/lib/components/Toggle.svelte | 3 - 5 files changed, 87 insertions(+), 51 deletions(-) diff --git a/app/src/lib/components/Login.svelte b/app/src/lib/components/Login.svelte index 59d3b1465..ede067c2c 100644 --- a/app/src/lib/components/Login.svelte +++ b/app/src/lib/components/Login.svelte @@ -1,14 +1,13 @@ -
+
{/if} - + diff --git a/app/src/lib/components/Toggle.svelte b/app/src/lib/components/Toggle.svelte index 0607e04f7..dc1f44763 100644 --- a/app/src/lib/components/Toggle.svelte +++ b/app/src/lib/components/Toggle.svelte @@ -2,8 +2,6 @@ import { tooltip } from '$lib/utils/tooltip'; import { createEventDispatcher } from 'svelte'; - export let name = ''; - export let small = false; export let disabled = false; export let checked = false; @@ -26,7 +24,6 @@ class="toggle" class:small {value} - {name} {id} {disabled} use:tooltip={help}