mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-06 16:16:42 +08:00
fix dialog layout
This commit is contained in:
@@ -437,10 +437,12 @@ const getImgUrl = (url: string) => {
|
|||||||
<VDialog
|
<VDialog
|
||||||
v-model="subscribeSeasonDialog"
|
v-model="subscribeSeasonDialog"
|
||||||
max-width="600"
|
max-width="600"
|
||||||
content-class="m-1 whitespace-nowrap"
|
content-class="whitespace-nowrap"
|
||||||
|
scrollable
|
||||||
>
|
>
|
||||||
<!-- Dialog Content -->
|
<!-- Dialog Content -->
|
||||||
<VCard title="选择订阅季">
|
<VCard title="选择订阅季">
|
||||||
|
<VCardText style="padding: 0">
|
||||||
<VDataTable
|
<VDataTable
|
||||||
v-model="seasonsSelected"
|
v-model="seasonsSelected"
|
||||||
:headers="seasonsHeaders"
|
:headers="seasonsHeaders"
|
||||||
@@ -451,6 +453,7 @@ const getImgUrl = (url: string) => {
|
|||||||
show-select
|
show-select
|
||||||
:items-per-page="100"
|
:items-per-page="100"
|
||||||
density="compact"
|
density="compact"
|
||||||
|
height="auto"
|
||||||
>
|
>
|
||||||
<template #item.title="{ item }">
|
<template #item.title="{ item }">
|
||||||
<span class="d-block whitespace-nowrap"
|
<span class="d-block whitespace-nowrap"
|
||||||
@@ -475,8 +478,9 @@ const getImgUrl = (url: string) => {
|
|||||||
<template #no-data> 没有数据 </template>
|
<template #no-data> 没有数据 </template>
|
||||||
<template #bottom></template>
|
<template #bottom></template>
|
||||||
</VDataTable>
|
</VDataTable>
|
||||||
|
</VCardText>
|
||||||
<VCardActions>
|
<VCardActions>
|
||||||
|
<VBtn @click="subscribeSeasonDialog = false"> 取消 </VBtn>
|
||||||
<VSpacer />
|
<VSpacer />
|
||||||
<VBtn @click="subscribeSeasons" @keydown.enter="subscribeSeasons"> 确定 </VBtn>
|
<VBtn @click="subscribeSeasons" @keydown.enter="subscribeSeasons"> 确定 </VBtn>
|
||||||
</VCardActions>
|
</VCardActions>
|
||||||
|
|||||||
+12
-2
@@ -37,6 +37,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.v-dialog > .v-overlay__content {
|
.v-dialog > .v-overlay__content {
|
||||||
margin-top: calc(env(safe-area-inset-top) + 1rem) !important;
|
margin-top: calc(env(safe-area-inset-top) + 1rem);
|
||||||
max-height: calc(100% - env(safe-area-inset-top) - 2rem) !important;
|
max-height: calc(100% - env(safe-area-inset-top) - 1rem);
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-dialog > .v-overlay__content{
|
||||||
|
width: calc(100% - 1rem);
|
||||||
|
}
|
||||||
|
|
||||||
|
.v-dialog--fullscreen > .v-overlay__content{
|
||||||
|
margin-top: env(safe-area-inset-top);
|
||||||
|
max-height: calc(100% - env(safe-area-inset-top));
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user