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>
<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>
<style>
.auth-container {
width: 28rem;
max-width: calc(100% - 2rem);
margin: 1rem auto;
display: flex;
flex-direction: column;
gap: 2rem;
+16 -14
View File
@@ -1,18 +1,20 @@
<template>
<SignInView
v-model:email="email"
v-model:password="password"
v-model:token="token"
v-model:two-factor-code="twoFactorCode"
:subtle-launcher-redirect-uri="subtleLauncherRedirectUri"
:flow="flow"
:redirect-target="redirectTarget"
:route-query="route.query"
:globals="globals"
:on-password-sign-in="beginPasswordSignIn"
:on-two-factor-sign-in="begin2FASignIn"
:on-set-captcha-ref="setCaptchaRef"
/>
<div>
<SignInView
v-model:email="email"
v-model:password="password"
v-model:token="token"
v-model:two-factor-code="twoFactorCode"
:subtle-launcher-redirect-uri="subtleLauncherRedirectUri"
:flow="flow"
:redirect-target="redirectTarget"
:route-query="route.query"
:globals="globals"
:on-password-sign-in="beginPasswordSignIn"
:on-two-factor-sign-in="begin2FASignIn"
:on-set-captcha-ref="setCaptchaRef"
/>
</div>
</template>
<script setup>