Move footer to the bottom if content is not larger than viewport

This commit is contained in:
Jonas Schäfer
2021-01-17 10:45:11 +01:00
parent fa700bba07
commit fce7b9a637
3 changed files with 14 additions and 12 deletions

View File

@@ -15,7 +15,7 @@
{% block topbar_right %}{% endblock %}
<nav class="usermenu">{{ user_info.display_name }}{% call avatar(user_info.address, user_info.avatar_hash ) %}{% endcall %}</nav>
</div>
<main>{% block content %}{% endblock %}</main>
<div id="mwrap"><main>{% block content %}{% endblock %}</main></div>
<footer>
<ul><li>{% trans about_url=url_for('main.about') %}A <a href="{{ about_url }}">Snikket</a> server{% endtrans %}</li></ul>
</footer>