fix: formatting

This commit is contained in:
EETagent 2023-01-12 21:30:01 +01:00
parent acf6a8e456
commit 16d19367ef
4 changed files with 21 additions and 21 deletions

View file

@ -12,7 +12,7 @@ export const handleFetch: HandleFetch = async ({ request, fetch, event }) => {
const url = new URL(request.url);
url.protocol = "http:";
url.protocol = 'http:';
url.host = process.env.PORTFOLIO_API_HOST ?? '127.0.0.1:8000';

View file

@ -22,7 +22,7 @@
<tbody>
{#each candidates as candidate}
<tr class="border-b bg-white hover:cursor-pointer">
<td class="text-gray-900 hover:text-sspsBlue hover:font-bold"
<td class="hover:text-sspsBlue text-gray-900 hover:font-bold"
><a
target="_blank"
rel="noreferrer"

View file

@ -122,15 +122,15 @@
});
type FormErrorType = {
[K in keyof typeof formInitialValues]: typeof formInitialValues[K] extends Record<
[K in keyof typeof formInitialValues]: (typeof formInitialValues)[K] extends Record<
string,
unknown
>
? {
[K2 in keyof typeof formInitialValues[K]]: string;
[K2 in keyof (typeof formInitialValues)[K]]: string;
}
: typeof formInitialValues[K] extends Array<Record<string, unknown>>
? Array<{ [K3 in keyof typeof formInitialValues[K][number]]: string }>
: (typeof formInitialValues)[K] extends Array<Record<string, unknown>>
? Array<{ [K3 in keyof (typeof formInitialValues)[K][number]]: string }>
: string;
};
@ -207,7 +207,7 @@
'--toastBackground': '#b91c1c',
'--toastBarBackground': '#7f1d1d'
}
})
});
throw new Error('Rodné číslo neodpovídá datumu narození');
}
}
@ -340,7 +340,7 @@
</script>
<SplitLayout>
<SvelteToast></SvelteToast>
<SvelteToast />
<div class="form relative">
<div class="bottom-3/12 absolute flex w-full flex-col md:h-auto">
<div class="<md:h-24 <md:w-24 mb-4 h-32 w-32 self-center">