diff --git a/bookwyrm/templates/snippets/book_cover.html b/bookwyrm/templates/snippets/book_cover.html index 8068051d..84303015 100644 --- a/bookwyrm/templates/snippets/book_cover.html +++ b/bookwyrm/templates/snippets/book_cover.html @@ -3,6 +3,7 @@ {% load i18n %} {% load static %} {% load imagekit %} +{% load utilities %} {% if book.cover %} @@ -21,93 +22,130 @@ {% elif size_mobile == 'small' %} {% elif size_mobile == 'medium' %} {% elif size_mobile == 'large' %} {% elif size_mobile == 'xlarge' %} {% elif size_mobile == 'xxlarge' %} {% endif %} {% if size == 'xsmall' %} - - + + {% elif size == 'small' %} - - + + {% elif size == 'medium' %} - - + + {% elif size == 'large' %} - - + + {% elif size == 'xlarge' %} - - + + {% elif size == 'xxlarge' %} - - + + {% endif %} {% endif %}