From f10b26ec5f7210f8de73b2e632d2a5eea1d816c5 Mon Sep 17 00:00:00 2001 From: Zhang Minghan Date: Mon, 18 Sep 2023 17:10:25 +0800 Subject: [PATCH] mobile adapter: use vh instead of window height --- app/src/assets/main.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/assets/main.less b/app/src/assets/main.less index b5df54b..2f18a61 100644 --- a/app/src/assets/main.less +++ b/app/src/assets/main.less @@ -14,7 +14,7 @@ html, body { margin: 0; padding: 0; width: 100%; - height: 100%; + height: 100vh; overflow-x: hidden; overflow-y: auto; touch-action: pan-y;