From d6b96f6fd58e810c7f4c0701b9cd5f0d1f42296e Mon Sep 17 00:00:00 2001 From: Roxie Gibson Date: Thu, 13 Jan 2022 09:51:37 +0000 Subject: [PATCH] fixed footer to bottom with hot glue --- members_lumbung_space/static/css/lumbung.css | 12 ++++++ members_lumbung_space/templates/base.html | 39 +++++++++++--------- 2 files changed, 33 insertions(+), 18 deletions(-) diff --git a/members_lumbung_space/static/css/lumbung.css b/members_lumbung_space/static/css/lumbung.css index fa5ce12..3e2d577 100644 --- a/members_lumbung_space/static/css/lumbung.css +++ b/members_lumbung_space/static/css/lumbung.css @@ -28,6 +28,17 @@ body { font-family: "Gudea", "sans-serif"; color: #333; margin: 0; + +} + +body { + display: flex; + min-height: 100vh; + flex-direction: column; +} + +#not-footer { + flex: 1; } input { @@ -139,3 +150,4 @@ footer .content span { .container { padding-bottom: 2rem !important; } + diff --git a/members_lumbung_space/templates/base.html b/members_lumbung_space/templates/base.html index df13671..b67c3a3 100644 --- a/members_lumbung_space/templates/base.html +++ b/members_lumbung_space/templates/base.html @@ -15,24 +15,27 @@ {% endblock %} -
-
{% block content %}{% endblock %}
-
- + +