From 3ef80768b41c15fbffea0a3dc11329daef458a1b Mon Sep 17 00:00:00 2001 From: heimoshuiyu Date: Wed, 25 Aug 2021 17:35:03 +0800 Subject: [PATCH] Fix height is not 100%, footer is not at bottom --- assets/css/style.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/css/style.css b/assets/css/style.css index 1c62f08..b6c4d5b 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -1,3 +1,6 @@ +html { + height: 100%; +} body { font-family: Avenir, HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; @@ -11,6 +14,8 @@ body { width: 100%; box-sizing: border-box; word-break: break-word; + height: 100%; + justify-content: space-between; } p { margin: 1.5em 0;