diff --git a/boxes/templates/boxes/box_detail.html b/boxes/templates/boxes/box_detail.html index 548b913..5a1fde7 100644 --- a/boxes/templates/boxes/box_detail.html +++ b/boxes/templates/boxes/box_detail.html @@ -43,20 +43,21 @@ background-color: #f8f9fa; } .thumbnail { - width: 200px; - height: 200px; + width: 50px; + height: 50px; object-fit: cover; border-radius: 4px; } .no-image { - width: 200px; - height: 200px; + width: 50px; + height: 50px; background-color: #e0e0e0; display: flex; align-items: center; justify-content: center; color: #999; border-radius: 4px; + font-size: 12px; } .back-link { margin-bottom: 20px; @@ -98,14 +99,14 @@ {% if thing.picture %} - {% thumbnail thing.picture "200x200" crop="center" as thumb %} + {% thumbnail thing.picture "50x50" crop="center" as thumb %} {{ thing.name }} {% endthumbnail %} {% else %}
No image
{% endif %} - {{ thing.name }} + {{ thing.name }} {{ thing.thing_type.name }} {{ thing.description|default:"-" }}