summaryrefslogtreecommitdiff
path: root/components/FilePreview.vue
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-09-27 17:11:52 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-09-27 17:11:52 +0200
commit43b5da82f16f1197df8ab68029132c2ba17a09d5 (patch)
tree6f22965c560083af4b9a24e1c4f0f34e400a893f /components/FilePreview.vue
parent15ea7780bf8e3173271c605915085d57ae785a8b (diff)
Fix images preview on mobile
Diffstat (limited to 'components/FilePreview.vue')
-rw-r--r--components/FilePreview.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/FilePreview.vue b/components/FilePreview.vue
index 5b1c385..3892857 100644
--- a/components/FilePreview.vue
+++ b/components/FilePreview.vue
@@ -1,6 +1,6 @@
<template lang="pug">
- .file-preview.h-full.overflow-hidden
- img.h-full.block.mx-auto(
+ .file-preview.h-full.overflow-hidden.grid.items-center
+ img.block.mx-auto(
v-if="isImage(path)"
:src="baseAPI + '' + path"
)