makes dialog use fullscreen on mobile

This commit is contained in:
lesion
2021-12-02 11:14:53 +01:00
parent 88c9d48431
commit 3b8b8d45ec
12 changed files with 13 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
<template lang="pug">
span
v-dialog(v-model='openMediaDetails' max-width='1000px')
v-dialog(v-model='openMediaDetails' :fullscreen="$vuetify.breakpoint.xsOnly" width='1000px')
v-card
v-card-title {{$t('common.media')}}
v-card-text

View File

@@ -6,7 +6,7 @@
v-spacer
v-btn(link text color='primary' @click='openImportDialog=true')
<v-icon>mdi-file-import</v-icon> {{$t('common.import')}}
v-dialog(v-model='openImportDialog')
v-dialog(v-model='openImportDialog' :fullscreen='$vuetify.breakpoint.xsOnly')
ImportDialog(@close='openImportDialog=false' @imported='eventImported')
v-card-text.px-0.px-xs-2

View File

@@ -126,7 +126,7 @@ v-container#event.pa-0.pa-sm-2
:to='`/event/${event.next}`' :disabled='!event.next')
v-icon mdi-arrow-right
v-dialog(v-model='showEmbed' width='1000px')
v-dialog(v-model='showEmbed' width='700px' :fullscreen='$vuetify.breakpoint.xsOnly')
EmbedEvent(:event='event' @close='showEmbed=false')
</template>