1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-21 17:00:00 +00:00

Fix category icon display issue. (#547)

This commit is contained in:
Alex Ingram 2019-02-24 08:07:49 -06:00 committed by Nicolas F
parent 51192342a6
commit 1374375a16

View file

@ -66,7 +66,7 @@
{% else %}
<a href="{{ url_for('main.home', c=cat_id) }}" title="{{ torrent.main_category.name }} - {{ torrent.sub_category.name }}">
{% endif %}
<img src="{{ url_for('static', filename='img/icons/%s/%s.png'|format(icon_dir, cat_id)) }}" alt="{{ category_name(cat_id) }}">
<img src="{{ url_for('static', filename='img/icons/%s/%s.png'|format(icon_dir, cat_id)) }}" alt="{{ category_name(cat_id) }}" style="width: 80px; height: 28px;">
</a>
</td>
<td colspan="2">