From ebd0eeb8c4d819880bb0dc21ea1ce2efcea717d1 Mon Sep 17 00:00:00 2001 From: Spythere Date: Sun, 12 May 2024 15:22:03 +0200 Subject: [PATCH] hotfix: modal positioning --- src/components/Global/AnimatedModal.vue | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/components/Global/AnimatedModal.vue b/src/components/Global/AnimatedModal.vue index e1c4e65..af32698 100644 --- a/src/components/Global/AnimatedModal.vue +++ b/src/components/Global/AnimatedModal.vue @@ -74,6 +74,8 @@ export default defineComponent({ left: 50%; transform: translate(-50%, -50%); z-index: 210; + overflow: auto; + max-height: 95vh; & > :slotted(div) { background-color: #1a1a1a; @@ -81,17 +83,6 @@ export default defineComponent({ width: 95vw; max-width: 850px; - max-height: 95vh; - } -} - -@include smallScreen { - .modal-wrapper { - max-height: 90vh; - - & > :slotted(div) { - max-height: 90vh; - } } }