Repos / hi.imnhan.com / 0551c89b0f
commit 0551c89b0fee702cb36bdca5f9272f9e334db934
Author: Bùi Thành Nhân <hi@imnhan.com>
Date:   Mon Oct 11 21:34:02 2021 +0700

    fix background on short pages (about, projects)

diff --git a/nhanb-theme/static/css/main.css b/nhanb-theme/static/css/main.css
index 6e85f5c..45f34ce 100644
--- a/nhanb-theme/static/css/main.css
+++ b/nhanb-theme/static/css/main.css
@@ -8,6 +8,8 @@ html {
   font-size: 100%;
   background-color: var(--bg-color2);
   background: linear-gradient(var(--bg-color), var(--bg-color2));
+  /* make sure background color covers the whole vertical space: */
+  min-height: 100%;
   color: var(--fg-color);
   /* always show vertical scrollbar to avoid content shifting: */
   overflow-y: scroll;