From 7bd14006f6ce5f4cf216b5170671da579a768286 Mon Sep 17 00:00:00 2001 From: nanxiaobei Date: Sat, 21 Aug 2021 01:49:02 +0800 Subject: [PATCH] refine body height --- assets/app.css | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/assets/app.css b/assets/app.css index ce1cd7a..392bbe6 100644 --- a/assets/app.css +++ b/assets/app.css @@ -29,6 +29,7 @@ } html { + height: 100%; -webkit-tap-highlight-color: transparent; font-size: 8px; } @@ -44,7 +45,7 @@ body { display: flex; flex-direction: column; - min-height: 100vh; + min-height: 100%; padding-right: var(--gap); padding-left: var(--gap); margin: 0; @@ -73,10 +74,6 @@ body > * { html { font-size: 7px; } - - body { - min-height: -webkit-fill-available; - } } /* Reset