moviewyrm/bookwyrm/templates/components/dropdown.html
Mouse Reeve ae2d869fa9
Merge pull request #1695 from joachimesque/fix-text-right-on-shelf-modal
Fix: Fix modal alignment in Shelf page
2021-12-27 13:02:33 -08:00

30 lines
659 B
HTML

{% spaceless %}
{% load utilities %}
{% with 0|uuid as uuid %}
<details
id="menu_{{ uuid }}"
class="
dropdown control
{% if right %}is-right{% endif %}
has-text-left
"
>
<summary
class="button control dropdown-trigger pulldown-menu {{ class }}"
>
{% block dropdown-trigger %}{% endblock %}
</summary>
<div class="dropdown-menu">
<ul
id="menu_options_{{ uuid }}"
class="dropdown-content p-0 is-clipped"
role="menu"
>
{% block dropdown-list %}{% endblock %}
</ul>
</div>
</details>
{% endwith %}
{% endspaceless %}