Uses css has-addons for shelve button

This commit is contained in:
Mouse Reeve 2021-01-17 10:40:40 -08:00
parent ff743ed9d6
commit c6e5b33970

View file

@ -3,7 +3,8 @@
{% with book.id|uuid as uuid %}
{% active_shelf book as active_shelf %}
<div class="field is-grouped">
<div class="field has-addons">
<div class="control">
{% if switch_mode and active_shelf.book != book %}
{% include 'snippets/switch_edition_button.html' with edition=book size='is-small' %}
{% else %}
@ -24,8 +25,9 @@
<button class="button is-small" type="submit">Want to read</button>
</form>
{% endif %}
</div>
<div class="dropdown">
<div class="dropdown control">
<div class="dropdown-trigger">
<label for="shelf-select-dropdown-{{ uuid }}-toggle" role="button" aria-expanded="false" class="pulldown-menu" tabindex="0" aria-haspopup="true" aria-controls="shelf-select-{{ uuid }}">
<div class="button is-small">