forked from mirrors/bookwyrm
Hide cover preview column if cover is unset
This commit is contained in:
parent
e308ca2511
commit
4747bb2156
1 changed files with 2 additions and 0 deletions
|
@ -226,9 +226,11 @@
|
|||
<div class="column is-half">
|
||||
<h2 class="title is-4">{% trans "Cover" %}</h2>
|
||||
<div class="columns">
|
||||
{% if book.cover %}
|
||||
<div class="column is-3 is-cover">
|
||||
{% include 'snippets/book_cover.html' with book=book cover_class='is-h-xl-mobile is-w-auto-tablet' size_mobile='xlarge' size='large' %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="column">
|
||||
<div class="block">
|
||||
|
|
Loading…
Reference in a new issue