commit: ddf6c9cef085757ca008c9c7e67f998315948f45
parent 9f3a983fef9dfedef8f44855e1f939ea944cd0ba
Author: Tusooa Zhu <tusooa@kazv.moe>
Date: Mon, 2 Aug 2021 20:46:10 -0400
Allow pinch-zoom to fill the whole screen
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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;
}
}