mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-08 09:16:58 +08:00
fix: adjust downloader path mapping UI
This commit is contained in:
@@ -423,7 +423,12 @@ onMounted(() => {
|
|||||||
<div class="text-body-2 text-disabled">{{ t('common.noData') }}</div>
|
<div class="text-body-2 text-disabled">{{ t('common.noData') }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<VCard v-for="(row, index) in pathMappingRows" :key="row.id" variant="outlined" class="my-2">
|
<VCard
|
||||||
|
v-for="(row, index) in pathMappingRows"
|
||||||
|
:key="row.id"
|
||||||
|
variant="outlined"
|
||||||
|
class="path-mapping-card my-2"
|
||||||
|
>
|
||||||
<VCardText class="pa-3">
|
<VCardText class="pa-3">
|
||||||
<VRow align="center" no-gutters>
|
<VRow align="center" no-gutters>
|
||||||
<VCol cols="12" class="mb-2">
|
<VCol cols="12" class="mb-2">
|
||||||
@@ -432,7 +437,7 @@ onMounted(() => {
|
|||||||
<span class="text-caption text-medium-emphasis">{{ t('downloader.storagePath') }}</span>
|
<span class="text-caption text-medium-emphasis">{{ t('downloader.storagePath') }}</span>
|
||||||
</div>
|
</div>
|
||||||
<VRow no-gutters>
|
<VRow no-gutters>
|
||||||
<VCol cols="12" sm="4" class="pe-2">
|
<VCol cols="12" sm="4" class="path-storage-select-col pe-sm-2">
|
||||||
<VSelect
|
<VSelect
|
||||||
:model-value="getStorageType(row.storage)"
|
:model-value="getStorageType(row.storage)"
|
||||||
:items="prefixOptions"
|
:items="prefixOptions"
|
||||||
@@ -505,3 +510,15 @@ onMounted(() => {
|
|||||||
</VCard>
|
</VCard>
|
||||||
</VDialog>
|
</VDialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.path-mapping-card {
|
||||||
|
border-color: rgba(var(--v-border-color), 0.08) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 599.98px) {
|
||||||
|
.path-storage-select-col {
|
||||||
|
margin-block-end: 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user