Services: Show buttons in block mode on small screens

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2023-05-01 15:04:27 +02:00
parent 0e5d732795
commit c30423a3c1

View file

@ -71,6 +71,7 @@
@submit.prevent="add"> @submit.prevent="add">
<v-btn v-if="user.WebDAV" depressed color="secondary-light" class="action-webdav-dialog compact ml-0 my-2 mr-2" <v-btn v-if="user.WebDAV" depressed color="secondary-light" class="action-webdav-dialog compact ml-0 my-2 mr-2"
:block="$vuetify.breakpoint.xsOnly"
:disabled="isPublic || isDemo" @click.stop="webdavDialog"> :disabled="isPublic || isDemo" @click.stop="webdavDialog">
<translate>Connect via WebDAV</translate> <translate>Connect via WebDAV</translate>
<v-icon :right="!rtl" :left="rtl" dark>sync_alt</v-icon> <v-icon :right="!rtl" :left="rtl" dark>sync_alt</v-icon>
@ -78,6 +79,7 @@
<v-btn color="primary-button" <v-btn color="primary-button"
class="white--text compact ml-0 my-2 mr-2" class="white--text compact ml-0 my-2 mr-2"
:block="$vuetify.breakpoint.xsOnly"
:disabled="isPublic || isDemo" :disabled="isPublic || isDemo"
depressed @click.stop="add"> depressed @click.stop="add">
<translate>Connect</translate> <translate>Connect</translate>