mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed content not stretching to viewport height (regression)
This commit is contained in:
parent
68c9cb6dac
commit
c388c5ce20
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user