use different way for bootstrap icons

This commit is contained in:
2023-12-28 22:07:38 -06:00
parent 8a28bd5ce2
commit 26acdaf66a
3 changed files with 6 additions and 17 deletions

View File

@@ -8,7 +8,7 @@
data-bs-placement="top"
data-bs-title="Add a reaction"
>
<i class="bi bi-heart-fill" style="font-size: 1rem; color: pink;"></i>
<i class="bi-heart-fill" style="font-size: 1rem; color: pink;"></i>
</a>
</div>
@@ -30,7 +30,7 @@
{% for reaction in reactions %}
{# TODO: limit total number of reactions shown #}
<span class="badge rounded-pill">
<svg class="bi" width="1rem" height="1rem"><use xlink:href="#{{ reaction }}" /></svg>
<i class="bi-{{ reaction }}"></i>
</span>
{% endfor %}
{% endif %}