From db7bc4121f73363f8c88faf9dc6589b37ce6ddb2 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Tue, 22 Nov 2022 12:42:11 +0100 Subject: [PATCH] feat: contain modal overflow scrolling --- src/components/misc/modal.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/misc/modal.vue b/src/components/misc/modal.vue index 306ca8b87..f2c299dcb 100644 --- a/src/components/misc/modal.vue +++ b/src/components/misc/modal.vue @@ -123,6 +123,7 @@ $modal-width: 1024px; height: 100%; max-height: 100vh; overflow: auto; + overscroll-behavior: contain; -webkit-overflow-scrolling: touch; } @@ -133,6 +134,7 @@ $modal-width: 1024px; top: 50%; left: 50%; transform: translate(-50%, -50%); + overflow: visible; // reset bulma @media screen and (max-width: $tablet) { margin: 0;