From b9527b08cd7eb1e02444c77c8f8267fea97389c8 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 10 Aug 2019 18:43:37 +0200 Subject: [PATCH] Fix footer --- public/css/style.css | 22 ++++++++++++++++------ templates/base.html.twig | 4 ++-- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index 684adfd..b5d048c 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -1,11 +1,21 @@ +html, body { + height: 100%; +} + +#wrap { + min-height: 100%; +} + +#main_contain { + overflow:auto; + padding-bottom:150px; +} .footer { + position: relative; + margin-top: -150px; padding: 10px; - width: 100%; + clear:top; height: 150px; background-color: #f5f5f5; } -#main_contain { - display: table; - width: 100%; - height: 100%; -} \ No newline at end of file + diff --git a/templates/base.html.twig b/templates/base.html.twig index 70c8605..429d8c1 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -27,11 +27,11 @@ - +
{% block content %}{% endblock %}
- +