From a23cc4843f7641f9116da5e7e5ddab222e860b4c Mon Sep 17 00:00:00 2001 From: TEC Date: Sun, 13 Dec 2020 03:01:07 +0800 Subject: [PATCH] Org html: ensure that #page covers the viewport --- misc/pile-css-theme/_layout.scss | 1 + misc/pile-css-theme/main.css | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/misc/pile-css-theme/_layout.scss b/misc/pile-css-theme/_layout.scss index 9650b4b..005a1e3 100644 --- a/misc/pile-css-theme/_layout.scss +++ b/misc/pile-css-theme/_layout.scss @@ -16,6 +16,7 @@ body { background-color: $back-light; transition-property: color, background-color; transition-duration: 100ms; + min-height: 100vh; } #content, header, .page-header { diff --git a/misc/pile-css-theme/main.css b/misc/pile-css-theme/main.css index aad2ef4..43e1226 100644 --- a/misc/pile-css-theme/main.css +++ b/misc/pile-css-theme/main.css @@ -532,7 +532,8 @@ body { color: var(--text-dark); background-color: var(--back-light); transition-property: color, background-color; - transition-duration: 100ms; } + transition-duration: 100ms; + min-height: 100vh; } #content, header, .page-header { margin: 32px;