fix(ui): center login on mobile, prevent viewport horizontal wiggle and widen desktop chat assistant (v3.8.42)

This commit is contained in:
2026-10-28 06:31:59 -03:00
parent 470a326ca6
commit 63a90f06ad
11 changed files with 234 additions and 27 deletions
+47 -1
View File
@@ -74,6 +74,52 @@
}
.divider-text::before { margin-right: 0.75em; }
.divider-text::after { margin-left: 0.75em; }
/* Estructura Base y Centrado Óptico/Matemático en Móvil & Desktop */
html, body {
height: 100%;
margin: 0;
padding: 0;
width: 100%;
max-width: 100vw;
overflow-x: hidden;
min-height: 100vh;
min-height: 100dvh;
}
.auth-wrapper {
min-height: 100vh;
min-height: 100dvh;
width: 100%;
max-width: 100vw;
overflow-x: hidden;
display: flex;
align-items: center;
justify-content: center;
padding: 1.5rem 1rem;
box-sizing: border-box;
}
.auth-card {
margin: auto !important;
width: 100%;
max-width: 440px;
box-sizing: border-box;
}
@media (max-width: 576px) {
.auth-wrapper {
padding: 1rem 0.85rem !important;
}
.auth-card {
border-left: 1px solid var(--card-border) !important;
border-right: 1px solid var(--card-border) !important;
border-top: 5px solid var(--brand-primary) !important;
border-radius: 20px !important;
margin: auto !important;
max-width: 100% !important;
}
.auth-header {
padding: 1.5rem 1.25rem 0.75rem !important;
}
}
</style>
</head>
<body>
@@ -86,7 +132,7 @@
<p class="text-muted small mb-0">Sistema de Gestión de Espacios Áulicos</p>
</div>
<div class="px-4 pb-4 pt-2">
<div class="px-3 px-sm-4 pb-4 pt-2">
<!-- Flash Messages -->
{% if error %}
<div class="alert alert-danger alert-dismissible fade show rounded-3 py-2 small" role="alert">