feat: layout changes

This commit is contained in:
EETagent 2022-11-29 11:27:11 +01:00
parent 30c504b82e
commit 488b441d48

View file

@ -232,7 +232,7 @@
<p class="block mt-8 font-light text-sspsGray text-center"> <p class="block mt-8 font-light text-sspsGray text-center">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br /> Fusce suscipit libero eget elit. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br /> Fusce suscipit libero eget elit.
</p> </p>
<div class="flex flex-col w-full"> <div class="flex flex-row md:flex-col w-full">
<span class="w-full mt-8"> <span class="w-full mt-8">
<TextField <TextField
error={$errors.citizenship} error={$errors.citizenship}
@ -242,6 +242,15 @@
placeholder="Občanství" placeholder="Občanství"
/> />
</span> </span>
<span class="w-full mt-8 ml-2 md:m-0">
<TextField
error={$errors.applicationId}
on:change={handleChange}
bind:value={$form.applicationId}
type="text"
placeholder="Evidenční číslo přihlášky"
/>
</span>
</div> </div>
<div class="mt-8 flex items-center justify-center w-full"> <div class="mt-8 flex items-center justify-center w-full">
<IdField <IdField
@ -250,22 +259,15 @@
bind:value={$form.personalId} bind:value={$form.personalId}
placeholder="Rodné číslo" placeholder="Rodné číslo"
/> />
<TextField <span class="ml-2 md:ml-0">
error={$errors.study} <TextField
on:change={handleChange} error={$errors.study}
bind:value={$form.study} on:change={handleChange}
type="text" bind:value={$form.study}
placeholder="Obor" type="text"
/> placeholder="Obor"
</div> />
<div class="mt-8 flex flex-col w-full"> </span>
<TextField
error={$errors.applicationId}
on:change={handleChange}
bind:value={$form.applicationId}
type="text"
placeholder="Evidenční číslo přihlášky"
/>
</div> </div>
{/if} {/if}
<input <input