From 97c5e33f547834c2cac2ec244493aae634451d23 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Thu, 26 Oct 2017 15:47:39 +0100 Subject: [PATCH] Use percent-based sizing for body min-height; add explicit height to the html element. --- services/web/public/stylesheets/core/scaffolding.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/web/public/stylesheets/core/scaffolding.less b/services/web/public/stylesheets/core/scaffolding.less index 0b64cb20c4..22d7225b95 100755 --- a/services/web/public/stylesheets/core/scaffolding.less +++ b/services/web/public/stylesheets/core/scaffolding.less @@ -21,6 +21,7 @@ html { //font-size: 62.5%; -webkit-tap-highlight-color: rgba(0,0,0,0); + height: 100%; } body { @@ -29,7 +30,7 @@ body { line-height: @line-height-base; color: @text-color; background-color: @body-bg; - min-height: 100vh; + min-height: 100%; position: relative; padding-top: @header-height; padding-bottom: @footer-height;