From 500867c0100ee6903ed49ef8b24811dff6a13bf9 Mon Sep 17 00:00:00 2001 From: Tusooa Zhu Date: Mon, 2 Aug 2021 20:46:10 -0400 Subject: [PATCH] Allow pinch-zoom to fill the whole screen --- src/components/media_modal/media_modal.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/media_modal/media_modal.vue b/src/components/media_modal/media_modal.vue index 6165731eb..71cef647d 100644 --- a/src/components/media_modal/media_modal.vue +++ b/src/components/media_modal/media_modal.vue @@ -140,7 +140,10 @@ flex-direction: column; max-width: 90%; max-height: 95%; + width: 100%; + height: 100%; flex-grow: 1; + justify-content: center; &-inner { width: 100%; @@ -149,6 +152,7 @@ display: flex; flex-direction: column; align-items: center; + justify-content: center; } }