Fix auth rendering: add container with min-height and clear CSS issues
This commit is contained in:
@ -65,9 +65,11 @@ onMounted(() => {
|
||||
{{ sessionExpiredMessage }}
|
||||
</div>
|
||||
|
||||
<!-- Formularios directos para evitar bugs de transición -->
|
||||
<LoginForm v-if="isLogin" @toggle="toggleAuth" />
|
||||
<RegisterForm v-else @toggle="toggleAuth" @success="isLogin = true" />
|
||||
<!-- Contenedor dinámico de formularios con altura mínima garantizada -->
|
||||
<div class="auth-forms-content" style="min-height: 300px; display: flex; flex-direction: column;">
|
||||
<LoginForm v-if="isLogin" @toggle="toggleAuth" />
|
||||
<RegisterForm v-else @toggle="toggleAuth" @success="isLogin = true" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Footer -->
|
||||
@ -214,7 +216,6 @@ onMounted(() => {
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
background: var(--bg-secondary);
|
||||
border: 10px 16px;
|
||||
border: 1px solid var(--border-color);
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.85rem;
|
||||
|
||||
Reference in New Issue
Block a user