mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-04 23:18:44 +08:00
Refactor login page styles for better alignment and responsiveness
This commit is contained in:
+7
-2
@@ -215,7 +215,7 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<!-- 当前背景图片 -->
|
<!-- 当前背景图片 -->
|
||||||
<div class="relative flex min-h-screen flex-col bg-gray-900 py-14">
|
<div class="relative flex min-h-screen flex-col bg-gray-900 items-center justify-center">
|
||||||
<div>
|
<div>
|
||||||
<div
|
<div
|
||||||
v-for="(imageUrl, index) in backgroundImages"
|
v-for="(imageUrl, index) in backgroundImages"
|
||||||
@@ -230,7 +230,7 @@ onUnmounted(() => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- 登录表单 -->
|
<!-- 登录表单 -->
|
||||||
<div class="auth-wrapper d-flex align-center justify-center pa-4">
|
<div class="auth-wrapper d-flex align-center justify-center">
|
||||||
<VCard class="auth-card px-7 py-3 w-full h-full rounded-lg opacity-85" max-width="24rem">
|
<VCard class="auth-card px-7 py-3 w-full h-full rounded-lg opacity-85" max-width="24rem">
|
||||||
<VCardItem class="justify-center">
|
<VCardItem class="justify-center">
|
||||||
<template #prepend>
|
<template #prepend>
|
||||||
@@ -297,4 +297,9 @@ onUnmounted(() => {
|
|||||||
.absolute-top-shift {
|
.absolute-top-shift {
|
||||||
inset-block-start: calc(-4rem - env(safe-area-inset-top));
|
inset-block-start: calc(-4rem - env(safe-area-inset-top));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.auth-wrapper {
|
||||||
|
overflow: hidden;
|
||||||
|
block-size: auto;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user