From 3a3c02233b442b886b85966c6e023863b7d2cf7b Mon Sep 17 00:00:00 2001 From: jgerstbe Date: Mon, 20 Jul 2020 12:46:30 +0200 Subject: [PATCH] [U] use vh instead of % to improve scaling on mobile browsers --- public/index.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/index.css b/public/index.css index 6007e20..1c5d181 100644 --- a/public/index.css +++ b/public/index.css @@ -5,20 +5,20 @@ body { #app, #app div { display: flex; - height: 100%; + height: 100vh; width: 100%; } #app img { width: 100%; height: auto; - max-height: 100%; + max-height: 100vh; z-index: 0; align-self: center; } #app video { - height: 100%; + height: 100vh; margin: 0 auto; display: block; }