mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 19:41:11 +00:00
button spacing in shelve button pulldown
This commit is contained in:
parent
86f170b11c
commit
8f5d6c11ef
1 changed files with 2 additions and 2 deletions
|
@ -33,13 +33,13 @@
|
|||
{% for shelf in request.user.shelf_set.all %}
|
||||
<li>
|
||||
{% if shelf.identifier == 'reading' and active_shelf.identifier != 'reading' %}
|
||||
<div class="dropdown-item">
|
||||
<div class="dropdown-item pt-0 pb-0">
|
||||
<label class="button is-small" for="start-reading-{{ uuid }}">
|
||||
{{ shelf.name }}
|
||||
</label>
|
||||
</div>
|
||||
{% else %}
|
||||
<form class="dropdown-item" name="shelve" action="/shelve/" method="post">
|
||||
<form class="dropdown-item pt-0 pb-0" name="shelve" action="/shelve/" method="post">
|
||||
{% csrf_token %}
|
||||
<input type="hidden" name="book" value="{{ book.id }}">
|
||||
<button class="button is-small" name="shelf" type="submit" value="{{ shelf.identifier }}" {% if shelf in book.shelf_set.all %} disabled {% endif %}>{{ shelf.name }} {% if shelf in book.shelf_set.all %} ✓ {% endif %}</button>
|
||||
|
|
Loading…
Reference in a new issue