End align navbar dropdowns (#72)

Closes #72
This commit is contained in:
Nautman 2021-09-14 19:20:55 +02:00 committed by Jonah Aragon
parent ccea50d083
commit 9eb6e19b3e
No known key found for this signature in database
GPG Key ID: 6A957C9A9A9429F7

View File

@ -23,7 +23,7 @@
<a class="nav-link dropdown-toggle" href="#" id="providerDropdown" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{{ item.title }}
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<div class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
{% for subitem in item.items %}
{% if subitem.type == "link" %}
<a class="dropdown-item" href="{% link {{ subitem.file }} %}{%- if subitem.anchor -%}#{{ subitem.anchor }}{%- endif -%}"><span class="{{ subitem.icon | default: "fad fa-file" }} fa-fw"></span> {{ subitem.title }}</a>