diff --git a/_layouts/base.html b/_layouts/base.html
index dc7ecbc9a562..d8a47eac0113 100644
--- a/_layouts/base.html
+++ b/_layouts/base.html
@@ -25,13 +25,12 @@
{% include head.html %}
-
- {% include gtm_body.html %}
-
- {% include nav.html %}
+ {% include gtm_body.html %}
+ {% include nav.html %}
+
{{ content }}
-
+
{% include footer.html %}
diff --git a/assets/css/beautifuljekyll.css b/assets/css/beautifuljekyll.css
index f3b05853ca98..4f89a539a210 100644
--- a/assets/css/beautifuljekyll.css
+++ b/assets/css/beautifuljekyll.css
@@ -22,9 +22,14 @@ body {
{% endif %}
overflow-wrap: break-word;
min-height: 100vh;
- display: grid;
- grid-template-rows: 1fr auto;
+ display: flex;
+ flex-direction: column;
}
+
+body > main {
+ flex: 1;
+}
+
p {
line-height: 1.5;
margin: 1.875rem 0;