From 43b5da82f16f1197df8ab68029132c2ba17a09d5 Mon Sep 17 00:00:00 2001
From: Santo Cariotti <santo@dcariotti.me>
Date: Tue, 27 Sep 2022 17:11:52 +0200
Subject: Fix images preview on mobile

---
 components/FilePreview.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'components/FilePreview.vue')

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"
     )
-- 
cgit v1.2.3-18-g5258

