From 8bb1294f2e5f6067bd0aa0f89d5b5f0cdda8baf2 Mon Sep 17 00:00:00 2001 From: tglide <26071571+TGlide@users.noreply.github.com> Date: Fri, 25 Aug 2023 15:59:28 +0100 Subject: [PATCH] fix checkbox spacing --- .../console/(migration-wizard)/resource-form.svelte | 2 +- src/routes/console/+page.ts | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 src/routes/console/+page.ts diff --git a/src/routes/console/(migration-wizard)/resource-form.svelte b/src/routes/console/(migration-wizard)/resource-form.svelte index 5f72261e8..97ace9b5f 100644 --- a/src/routes/console/(migration-wizard)/resource-form.svelte +++ b/src/routes/console/(migration-wizard)/resource-form.svelte @@ -457,10 +457,10 @@ grid-template-columns: auto 1fr; gap: 0.25rem 1rem; align-items: center; + padding-block-end: 1rem; ul { grid-column-start: 2; - padding-block-end: 2rem; li { margin-block-start: 1rem; diff --git a/src/routes/console/+page.ts b/src/routes/console/+page.ts deleted file mode 100644 index d3738605b..000000000 --- a/src/routes/console/+page.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { base } from '$app/paths'; -import { redirect } from '@sveltejs/kit'; -import type { PageLoad } from './$types'; - -export const load: PageLoad = async ({ parent }) => { - const { organizations } = await parent(); - if (organizations.total) { - const teamId = localStorage.getItem('organization') ?? organizations.teams[0].$id; - throw redirect(303, `${base}/console/organization-${teamId}`); - } else { - throw redirect(303, `${base}/console/onboarding`); - } -};