Use a fluid-container for navbar

This commit is contained in:
Alexandre Iooss 2020-08-21 14:38:07 +02:00
parent e03a3f7fd2
commit 197bd28ceb
1 changed files with 85 additions and 83 deletions

View File

@ -56,6 +56,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
<body class="d-flex w-100 h-100 flex-column">
<main class="mb-auto">
<nav class="navbar navbar-expand-md navbar-dark bg-primary fixed-navbar shadow-sm">
<div class="container-fluid">
<a class="navbar-brand" href="/">{{ request.site.name }}</a>
<button class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarNavDropdown"
@ -146,6 +147,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
{% endif %}
</ul>
</div>
</div>
</nav>
<div class="{% block containertype %}container{% endblock %} my-3">
{% if request.user.is_authenticated and not request.user.profile.email_confirmed %}