Skip to content

Commit ba343ce

Browse files
committed
style: adjust login page layout spacing and formatting for improved visual alignment
1 parent 6049566 commit ba343ce

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/pages/login.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ async function handlePassKeyAuth(
234234
isConditional && conditionalAbortController
235235
? conditionalAbortController.signal
236236
: !isConditional && manualAbortController
237-
? manualAbortController.signal
238-
: undefined,
237+
? manualAbortController.signal
238+
: undefined,
239239
})
240240
241241
await onSuccess(finishResponse)
@@ -528,7 +528,7 @@ onUnmounted(() => {
528528
<!-- 登录表单 -->
529529
<div v-if="!mfaDialog" class="auth-wrapper d-flex align-center justify-center">
530530
<VCard
531-
class="auth-card px-7 py-3 w-full h-full"
531+
class="auth-card px-7 pt-3 w-full h-full"
532532
:class="{ 'glass-effect': !isTransparentTheme }"
533533
max-width="24rem"
534534
border
@@ -602,7 +602,7 @@ onUnmounted(() => {
602602
@click:append-inner="isPasswordVisible = !isPasswordVisible"
603603
/>
604604
</VCol>
605-
<VCol cols="12">
605+
<VCol cols="12" class="py-0">
606606
<!-- remember me checkbox -->
607607
<div class="d-flex align-center justify-space-between flex-wrap">
608608
<VCheckbox v-model="form.remember" :label="t('login.stayLoggedIn')" required />
@@ -732,15 +732,15 @@ onUnmounted(() => {
732732
733733
&::before,
734734
&::after {
735-
content: '';
736735
flex: 1;
737736
border-block-end: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
737+
content: '';
738738
}
739739
740740
.or-divider-text {
741-
padding-inline: 12px;
742-
font-size: 0.8125rem;
743741
color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity));
742+
font-size: 0.8125rem;
743+
padding-inline: 12px;
744744
white-space: nowrap;
745745
}
746746
}

0 commit comments

Comments
 (0)