feat: Make the page extend the full viewport

This commit is contained in:
Dendy 2025-04-14 02:58:26 +02:00
parent e0d9d9fedd
commit a2f716670c
1 changed files with 17 additions and 15 deletions

View File

@ -18,22 +18,24 @@
{% endmacro %} {% endmacro %}
{% block body %} {% block body %}
<div class="bg-neutral-3 border-bottom fs-1 p-2 ps-3"> <div class="d-flex flex-column" style="min-height: 100vh;">
Gaisen <div class="bg-neutral-3 border-bottom fs-1 p-2 ps-3">
</div> Gaisen
<div class="d-flex flex-row">
<div class="border-end bg-neutral-2 p-3">
{{ _self.render_tree(tree) }}
</div> </div>
<div class="p-3"> <div class="d-flex flex-row flex-grow-1">
{% if contents is not null %} <div class="border-end bg-neutral-2 p-3">
{{ contents|markdown_to_html }} {{ _self.render_tree(tree) }}
{% else %} </div>
<span class="text-muted">Empty</span> <div class="p-3">
{% endif %} {% if contents is not null %}
{{ contents|markdown_to_html }}
{% else %}
<span class="text-muted">Empty</span>
{% endif %}
</div>
</div>
<div class="bg-neutral-3 border-top p-1">
Version: <span class="text-muted">{{ version }}</span>
</div> </div>
</div>
<div class="bg-neutral-3 border-top p-1">
Version: <span class="text-muted">{{ version }}</span>
</div> </div>
{% endblock %} {% endblock %}