diff options
| author | Tusooa Zhu <tusooa@kazv.moe> | 2021-08-02 20:46:10 -0400 |
|---|---|---|
| committer | Tusooa Zhu <tusooa@kazv.moe> | 2022-03-13 12:00:44 -0400 |
| commit | ddf6c9cef085757ca008c9c7e67f998315948f45 (patch) | |
| tree | fd3cf78153cf3d84c994700d512536fa7466ad7f | |
| parent | 9f3a983fef9dfedef8f44855e1f939ea944cd0ba (diff) | |
Allow pinch-zoom to fill the whole screen
| -rw-r--r-- | src/components/media_modal/media_modal.vue | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/media_modal/media_modal.vue b/src/components/media_modal/media_modal.vue index 76cf4319..80ce1dea 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; } } |
