fix some styles

This commit is contained in:
2024-07-26 23:36:39 +02:00
parent 04fa4ddf68
commit 98c6f57008
3 changed files with 19 additions and 12 deletions

View File

@@ -31,6 +31,7 @@
}; };
</script> </script>
<div class="h-lvh flex flex-col">
<div class="flex justify-end items-center min-h-10 gap-10 py-1 px-10 border-b border-accent"> <div class="flex justify-end items-center min-h-10 gap-10 py-1 px-10 border-b border-accent">
<a href="/" class="flex-1">ME-FIT</a> <a href="/" class="flex-1">ME-FIT</a>
{#if user} {#if user}
@@ -41,4 +42,7 @@
{/if} {/if}
</div> </div>
<div class="flex-1">
<slot></slot> <slot></slot>
</div>
</div>

View File

@@ -1,3 +1,3 @@
<div class="flex h-svh justify-center items-center"> <div class="flex justify-center items-center h-full">
<h1 class="text-9xl text-primary-content">Welcome to ME-FIT</h1> <h1 class="text-9xl text-primary-content">Welcome to ME-FIT</h1>
</div> </div>

View File

@@ -23,7 +23,10 @@
}; };
</script> </script>
<form class="max-w-xl mx-auto flex flex-col gap-4" on:submit|preventDefault={signIn}> <form
class="max-w-xl mx-auto flex flex-col gap-4 h-full justify-center"
on:submit|preventDefault={signIn}
>
<h2 class="text-6xl mb-10">Login</h2> <h2 class="text-6xl mb-10">Login</h2>
<label class="input input-bordered flex items-center gap-2"> <label class="input input-bordered flex items-center gap-2">
<svg <svg