fix sizes

This commit is contained in:
Joachim 2021-12-28 10:29:35 +01:00
parent 8fd0d5baf0
commit 489c827673

View file

@ -235,14 +235,14 @@
{% for book in books %}
{% if book.id in best_ratings_books_ids %}
<a href="{{ book.local_path }}" class="has-text-centered is-big has-text-success-dark">
{% include 'snippets/book_cover.html' with book=book cover_class='is-w-auto' %}
{% include 'snippets/book_cover.html' with book=book cover_class='is-w-auto' size='xxlarge' %}
<span class="book-title is-serif is-size-5">
{{ book.title }}
</span>
</a>
{% else %}
<a href="{{ book.local_path }}" class="has-text-centered has-text-success-dark">
{% include 'snippets/book_cover.html' with book=book cover_class='is-w-auto' %}
{% include 'snippets/book_cover.html' with book=book cover_class='is-w-auto' size='large' %}
<span class="book-title is-serif is-size-6">
{{ book.title }}
</span>