From 1c5fd266ff489288703577c62cc0dc3e250b6f61 Mon Sep 17 00:00:00 2001 From: Howard Chiam Date: Tue, 28 Nov 2023 22:17:49 -0700 Subject: [PATCH] fix #7: body should use min-height instead of height https://www.youtube.com/watch?v=yciaKrzWmi4&t=140s --- style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index d821a9b..0d5e97d 100644 --- a/style.css +++ b/style.css @@ -34,12 +34,12 @@ box-sizing: border-box; } -html, -body { +html { height: 100%; } body { + min-height: 100%; padding: 2% 5%; line-height: 1.5; -webkit-font-smoothing: antialiased;