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); const url = new URL(request.url);
url.protocol = "http:"; url.protocol = 'http:';
url.host = process.env.PORTFOLIO_API_HOST ?? '127.0.0.1:8000'; url.host = process.env.PORTFOLIO_API_HOST ?? '127.0.0.1:8000';

View file

@ -22,7 +22,7 @@
<tbody> <tbody>
{#each candidates as candidate} {#each candidates as candidate}
<tr class="border-b bg-white hover:cursor-pointer"> <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 ><a
target="_blank" target="_blank"
rel="noreferrer" rel="noreferrer"

View file

@ -1,13 +1,13 @@
<svg <svg
class="h-10 w-10" class="h-10 w-10"
fill="none" fill="none"
stroke="currentColor" stroke="currentColor"
viewBox="0 0 24 24" viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
><path ><path
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
stroke-width="2" stroke-width="2"
d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1" d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"
/></svg /></svg
> >

Before

Width:  |  Height:  |  Size: 302 B

After

Width:  |  Height:  |  Size: 302 B

View file

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