disable register form overflow-hidden when not all fields are filled to make register button tooltip fully visible
This commit is contained in:
parent
4f99847d62
commit
ff21190c54
@ -10,7 +10,11 @@
|
|||||||
<title>Craftattack - Anmeldung</title>
|
<title>Craftattack - Anmeldung</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<div class="absolute top-12 grid card w-11/12 xl:w-2/3 2xl:w-1/2 p-6 shadow-lg overflow-hidden">
|
<!--the tooltip when not all fields are correctly filled won't completely show if the overflow is hidden-->
|
||||||
|
<div
|
||||||
|
class="absolute top-12 grid card w-11/12 xl:w-2/3 2xl:w-1/2 p-6 shadow-lg"
|
||||||
|
class:overflow-hidden={registered}
|
||||||
|
>
|
||||||
{#if !registered}
|
{#if !registered}
|
||||||
<div class="col-[1] row-[1]" transition:fly={{ x: -200, duration: 300 }}>
|
<div class="col-[1] row-[1]" transition:fly={{ x: -200, duration: 300 }}>
|
||||||
<Register on:submit={() => (registered = true)} />
|
<Register on:submit={() => (registered = true)} />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user