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 %}">
|
<body class="flex grow flex-col justify-center min-h-screen {% block body_class %}{% endblock %}">
|
||||||
{% include "header.html" %}
|
{% include "header.html" %}
|
||||||
|
|
||||||
|
<div class="flex grow flex-col justify-center items-center">
|
||||||
{% block body %}
|
{% 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 %}
|
{% block content %}
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock body %}
|
{% 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>
|
||||||
|
|||||||
Reference in New Issue
Block a user