From 9b547eea5fbfc4b6ef8b28ed2d48d2e577da2ecf Mon Sep 17 00:00:00 2001 From: Outrun Colors Date: Sat, 24 Sep 2022 19:47:07 -0500 Subject: [PATCH] mobile viewport fix --- chat/src/App.css | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/chat/src/App.css b/chat/src/App.css index fd82327b39..aa073ca30a 100644 --- a/chat/src/App.css +++ b/chat/src/App.css @@ -3,6 +3,16 @@ body { overscroll-behavior-y: none; } +html { + height: -webkit-fill-available; +} + +body { + min-height: 100vh; + /* mobile viewport bug fix */ + min-height: -webkit-fill-available; +} + .App { position: fixed; width: 100vw; @@ -110,4 +120,4 @@ lite-youtube { .btn-secondary { border: none !important; -} \ No newline at end of file +}