Reduce vetical space at top of dashboard

This commit is contained in:
Jeremy Stretch 2024-01-09 15:09:10 -05:00
parent 6439a91f11
commit 58628aa086
2 changed files with 23 additions and 15 deletions

View File

@ -173,20 +173,28 @@ Blocks:
{# Page body #}
{% block page %}
<div class="page-body">
<div class="container-xl tab-content py-3">
{# Page content #}
{# TODO: Remove content-wrapper block #}
{% block content-wrapper %}
{% block content %}{% endblock %}
{% endblock %}
{# /Page content #}
{# Bottom banner #}
{% if config.BANNER_BOTTOM %}
<div class="text-center mx-3 mt-2">
{{ config.BANNER_BOTTOM|safe }}
</div>
{% endif %}
{# /Bottom banner #}
</div>
</div>
{% endblock page %}
{# /Page body #}
{# Page footer #}

View File

@ -23,9 +23,9 @@
{% block title %}{% trans "Home" %}{% endblock %}
{% block content-wrapper %}
{% block page %}
{# Render the user's customized dashboard #}
<div class="grid-stack" id="dashboard">
<div class="grid-stack m-2" id="dashboard">
{% for widget in dashboard %}
{% include 'extras/dashboard/widget.html' %}
{% endfor %}
@ -65,7 +65,7 @@
</div>
</div>
</div>
{% endblock content-wrapper %}
{% endblock page %}
{% block modals %}
{% include 'inc/htmx_modal.html' %}