From c388c5ce2044d764887715ae2726f661a66f9677 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sat, 29 Feb 2020 11:02:00 +0100 Subject: [PATCH] Fixed content not stretching to viewport height (regression) --- src/assets/stylesheets/layout/_base.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/assets/stylesheets/layout/_base.scss b/src/assets/stylesheets/layout/_base.scss index bc8bfbf95..d66516e58 100644 --- a/src/assets/stylesheets/layout/_base.scss +++ b/src/assets/stylesheets/layout/_base.scss @@ -32,10 +32,10 @@ $md-toggle__drawer--checked: // Rules: base grid and containers // ---------------------------------------------------------------------------- -// Stretch container to viewport and set base font-size to 10px for simple -// calculations base on relative ems (rems) +// Stretch container to viewport and set base font-sizefor simple calculations +// based on relative ems (rems) html { - min-height: 100%; + height: 100%; background-color: var(--md-default-bg-color); // Hack: normally, we would set the base font-size to 62.5%, so we can base // all calculations on 10px, but Chromium and Chrome define a minimal font