fix(ui): center login on mobile, prevent viewport horizontal wiggle and widen desktop chat assistant (v3.8.42)
This commit is contained in:
@@ -433,11 +433,16 @@ body {
|
||||
======================================================= */
|
||||
.auth-wrapper {
|
||||
min-height: 100vh;
|
||||
min-height: 100dvh;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 1.5rem;
|
||||
background: var(--app-bg);
|
||||
width: 100%;
|
||||
max-width: 100vw;
|
||||
overflow-x: hidden;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.auth-card {
|
||||
@@ -448,9 +453,32 @@ body {
|
||||
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
|
||||
max-width: 460px;
|
||||
width: 100%;
|
||||
margin: auto !important;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
transition: transform 0.25s ease, box-shadow 0.25s ease;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@media (max-width: 576px) {
|
||||
.auth-wrapper {
|
||||
min-height: 100vh !important;
|
||||
min-height: 100dvh !important;
|
||||
padding: 1rem 0.85rem !important;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
}
|
||||
.auth-card {
|
||||
margin: auto !important;
|
||||
width: 100% !important;
|
||||
max-width: 100% !important;
|
||||
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;
|
||||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
|
||||
}
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] .auth-card {
|
||||
|
||||
Reference in New Issue
Block a user