specify height for treasure images

master
Aevann1 2022-08-18 22:48:14 +02:00
parent d4435a2a27
commit 68918ea4a9
1 changed files with 3 additions and 3 deletions

View File

@ -235,13 +235,13 @@
{% if c.treasure_amount and c.treasure_amount != '0' %} {% if c.treasure_amount and c.treasure_amount != '0' %}
{% if c.treasure_amount.startswith('l') %} {% if c.treasure_amount.startswith('l') %}
<img class="treasure" alt="treasure" src="/i/treasure_tickets.webp" width="20" /> <img class="treasure" loading="lazy" alt="treasure" src="/i/treasure_tickets.webp" width="20" height="20">
<em>Found {{c.treasure_amount.replace('l', '')}} Lottershe Tickets!</em> <em>Found {{c.treasure_amount.replace('l', '')}} Lottershe Tickets!</em>
{% elif '-' in c.treasure_amount %} {% elif '-' in c.treasure_amount %}
<img class="treasure" alt="treasure" src="/i/treasure_mimic.webp" width="20" /> <img class="treasure" loading="lazy" alt="treasure" src="/i/treasure_mimic.webp" width="20" height="20">
<em>A Mimic Ate {{c.treasure_amount.replace('-', '')}} Coins!</em> <em>A Mimic Ate {{c.treasure_amount.replace('-', '')}} Coins!</em>
{% else %} {% else %}
<img class="treasure" alt="treasure" src="/i/treasure_coins.webp" width="20" /> <img class="treasure" loading="lazy" alt="treasure" src="/i/treasure_coins.webp" width="20" height="20">
<em>Found {{c.treasure_amount}} Coins!</em> <em>Found {{c.treasure_amount}} Coins!</em>
{% endif %} {% endif %}
{% endif %} {% endif %}