feat(base.html): put body and content blocks in a flexbox

This commit is contained in:
2026-03-16 12:26:42 +01:00
parent dddf5cf70d
commit 6c3fc5241e

View File

@@ -44,12 +44,14 @@
<body class="flex grow flex-col justify-center min-h-screen {% block body_class %}{% endblock %}">
{% include "header.html" %}
<div class="flex grow flex-col justify-center items-center">
{% block body %}
<div class="mx-auto grow py-8 px-8 {% block content_class %}{% endblock content_class %}">
<div class="container grow py-8 px-8 {% block content_class %}{% endblock content_class %}">
{% block content %}
{% endblock content %}
</div>
{% endblock body %}
</div>
{# Global javascript #}
<script type="text/javascript" src="{% static 'js/kursy.js' %}"></script>