feat: improve BaseDialog on mobile and use it globally (#7076)

Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
This commit is contained in:
Arsène Reymond
2026-03-31 14:34:44 +02:00
committed by GitHub
parent f6305b785e
commit f36c892bb7
12 changed files with 179 additions and 248 deletions

View File

@@ -14,7 +14,13 @@
@click:outside="emit('cancel')"
@keydown.esc="emit('cancel')"
>
<v-card height="100%">
<v-card height="100%" :loading="loading">
<template #loader="{ isActive }">
<v-progress-linear
:active="isActive"
indeterminate
/>
</template>
<v-toolbar
dark
density="comfortable"
@@ -28,17 +34,12 @@
{{ title }}
</v-toolbar-title>
</v-toolbar>
<v-progress-linear
v-if="loading"
class="mt-1"
indeterminate
color="primary"
/>
<div>
<slot v-bind="{ submitEvent }" />
</div>
<v-spacer />
<v-divider class="mx-2" />
<v-card-actions>