From d8dcce807b4dc9b996611d7ea9ee93153bc0a0df Mon Sep 17 00:00:00 2001
From: syuilo <Syuilotan@yahoo.co.jp>
Date: Sun, 26 Feb 2023 20:51:06 +0900
Subject: fix(client): モバイル環境でポップアップが表示されない
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Fix #10110
---
 packages/frontend/src/components/MkModal.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'packages/frontend/src/components/MkModal.vue')

diff --git a/packages/frontend/src/components/MkModal.vue b/packages/frontend/src/components/MkModal.vue
index dbad02fb7e..4529d61c2f 100644
--- a/packages/frontend/src/components/MkModal.vue
+++ b/packages/frontend/src/components/MkModal.vue
@@ -125,7 +125,7 @@ function onBgClick() {
 }
 
 if (type === 'drawer') {
-	maxHeight = (window.innerHeight - SCROLLBAR_THICKNESS) / 1.5;
+	maxHeight = window.innerHeight / 1.5;
 }
 
 const keymap = {
-- 
cgit v1.2.3-freya

