Uses css has-addons for shelve button
This commit is contained in:
parent
ff743ed9d6
commit
c6e5b33970
@ -3,7 +3,8 @@
|
|||||||
|
|
||||||
{% with book.id|uuid as uuid %}
|
{% with book.id|uuid as uuid %}
|
||||||
{% active_shelf book as active_shelf %}
|
{% 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 %}
|
{% if switch_mode and active_shelf.book != book %}
|
||||||
{% include 'snippets/switch_edition_button.html' with edition=book size='is-small' %}
|
{% include 'snippets/switch_edition_button.html' with edition=book size='is-small' %}
|
||||||
{% else %}
|
{% else %}
|
||||||
@ -24,8 +25,9 @@
|
|||||||
<button class="button is-small" type="submit">Want to read</button>
|
<button class="button is-small" type="submit">Want to read</button>
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="dropdown">
|
<div class="dropdown control">
|
||||||
<div class="dropdown-trigger">
|
<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 }}">
|
<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">
|
<div class="button is-small">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user