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