fix: auth pages height

This commit is contained in:
tdgao
2026-04-13 13:58:54 -06:00
parent 813a62d89d
commit c0fd7bebbd
2 changed files with 19 additions and 16 deletions
+3 -2
View File
@@ -8,14 +8,15 @@ useSeoMeta({
}) })
</script> </script>
<template> <template>
<NuxtPage class="auth-container universal-card border border-solid border-surface-5" /> <div class="grid min-h-[calc(100vh-4.5rem)] place-items-center pb-20">
<NuxtPage class="auth-container universal-card border border-solid border-surface-5" />
</div>
</template> </template>
<style> <style>
.auth-container { .auth-container {
width: 28rem; width: 28rem;
max-width: calc(100% - 2rem); max-width: calc(100% - 2rem);
margin: 1rem auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 2rem; gap: 2rem;
+16 -14
View File
@@ -1,18 +1,20 @@
<template> <template>
<SignInView <div>
v-model:email="email" <SignInView
v-model:password="password" v-model:email="email"
v-model:token="token" v-model:password="password"
v-model:two-factor-code="twoFactorCode" v-model:token="token"
:subtle-launcher-redirect-uri="subtleLauncherRedirectUri" v-model:two-factor-code="twoFactorCode"
:flow="flow" :subtle-launcher-redirect-uri="subtleLauncherRedirectUri"
:redirect-target="redirectTarget" :flow="flow"
:route-query="route.query" :redirect-target="redirectTarget"
:globals="globals" :route-query="route.query"
:on-password-sign-in="beginPasswordSignIn" :globals="globals"
:on-two-factor-sign-in="begin2FASignIn" :on-password-sign-in="beginPasswordSignIn"
:on-set-captcha-ref="setCaptchaRef" :on-two-factor-sign-in="begin2FASignIn"
/> :on-set-captcha-ref="setCaptchaRef"
/>
</div>
</template> </template>
<script setup> <script setup>