Fixed content not stretching to viewport height (regression)

This commit is contained in:
squidfunk 2020-02-29 11:02:00 +01:00
parent 68c9cb6dac
commit c388c5ce20

View File

@ -32,10 +32,10 @@ $md-toggle__drawer--checked:
// Rules: base grid and containers // Rules: base grid and containers
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// Stretch container to viewport and set base font-size to 10px for simple // Stretch container to viewport and set base font-sizefor simple calculations
// calculations base on relative ems (rems) // based on relative ems (rems)
html { html {
min-height: 100%; height: 100%;
background-color: var(--md-default-bg-color); background-color: var(--md-default-bg-color);
// Hack: normally, we would set the base font-size to 62.5%, so we can base // 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 // all calculations on 10px, but Chromium and Chrome define a minimal font