feat(base.html): put body and content blocks in a flexbox
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user