From 4dbc0db361394d5194b08d9c74fee7f702bea29d Mon Sep 17 00:00:00 2001 From: ffx0s Date: Tue, 20 Apr 2021 20:39:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modal/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modal/index.vue b/src/modal/index.vue index e0e96a3..e0f8ca9 100644 --- a/src/modal/index.vue +++ b/src/modal/index.vue @@ -144,6 +144,7 @@ export default { left: 0; width: 100%; height: 100%; + height: 100vh; display: table; transition: opacity 0.3s ease; pointer-events: none; @@ -160,7 +161,7 @@ export default { } .v-modal__container { - width: 70%; + width: fit-content; max-width: 500px; margin: 0px auto; padding: 20px;